Changeset 5511
- Timestamp:
- 05/21/10 17:56:47 (3 years ago)
- Location:
- CKEditor/trunk
- Files:
-
- 2 edited
-
CHANGES.html (modified) (1 diff)
-
_source/plugins/dialogui/plugin.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/CHANGES.html
r5505 r5511 96 96 <li><a href="http://dev.fckeditor.net/ticket/5688">#5688</a> : Duplicate ids are used in dialog definition.</li> 97 97 <li><a href="http://dev.fckeditor.net/ticket/5570">#5570</a> : [IE] First enabling SCAYT blind cursor in editor.</li> 98 <li><a href="http://dev.fckeditor.net/ticket/5719">#5719</a> : [IE] 'change' dialog event should not be triggered when dialog is already closed.</li> 98 99 <li>Updated the following language files:<ul> 99 100 <li><a href="http://dev.fckeditor.net/ticket/5432">#5432</a> : Dutch;</li> -
CKEditor/trunk/_source/plugins/dialogui/plugin.js
r5402 r5511 88 88 dialog.on( 'load', function() 89 89 { 90 this.getInputElement().on( 'change', function(){ this.fire( 'change', { value : this.getValue() } ); }, this ); 90 this.getInputElement().on( 'change', function() 91 { 92 // Make sure 'onchange' doesn't get fired after dialog closed. (#5719) 93 if ( !dialog.parts.dialog.isVisible() ) 94 return; 95 96 this.fire( 'change', { value : this.getValue() } ); 97 }, this ); 91 98 }, this ); 92 99 this._.domOnChangeRegistered = true;
Note: See TracChangeset
for help on using the changeset viewer.
