Changes between Initial Version and Version 1 of Ticket #11692


Ignore:
Timestamp:
Sep 8, 2010, 2:58:23 AM (11 years ago)
Author:
bill
Comment:

I don't understand this ticket, form widgets don't have a feature for "disabling onChange events".

The two special things that form widgets support are:

  1. suppress onchange events via priorityChange=false flag for programmatic set calls: myWidget.set("value", 123, false)
  2. don't fire onChange events when the new value is the same as the old value

Doesn't seem like you are talking about either one of those?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11692

    • Property Owner anonymous deleted
    • Property Component changed from General to Editor
  • Ticket #11692 – Description

    initial v1  
    1 It would be nice to be able to disable the onChange events in dijit.Editor like one can with dijit.form elements. All it would take is to add an _onChangeActive flag to the dijit._editor.RichText class and adding an IF statement to the _onBlur function. The following dojo.extend adds the _onChangeActive flag and the IF statement to the _onBlur function:
     1It would be nice to be able to disable the onChange events in dijit.Editor like one can with dijit.form elements. All it would take is to add an _onChangeActive flag to the dijit._editor.!RichText class and adding an IF statement to the _onBlur function. The following dojo.extend adds the _onChangeActive flag and the IF statement to the _onBlur function:
    22
    3 
     3{{{
    44dojo.extend(dijit._editor.RichText, {
    55        _onChangeActive: true,
     
    1414        }
    1515});
     16}}}