Changeset 7001 for CKEditor/trunk


Ignore:
Timestamp:
06/02/11 14:49:29 (4 years ago)
Author:
garry.yao
Message:

#7915: Make sure IE triggers the "change" event when closing dialog without blurring the input.

Location:
CKEditor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/CHANGES.html

    r7000 r7001  
    9494                <li><a href="http://dev.ckeditor.com/ticket/7639">#7639</a> : [IE9] Browser might crash when an object is selected in the document.</li> 
    9595                <li><a href="http://dev.ckeditor.com/ticket/7847">#7847</a> : [IE8] Insert image with non-secure source in a HTTPS page breaks the dialog.</li> 
     96                <li><a href="http://dev.ckeditor.com/ticket/7915">#7915</a> : [IE] Editing iframe height value missing from the Iframe dialog.</li> 
    9697                <li>Updated the following language files:<ul> 
    9798                        <li><a href="http://dev.ckeditor.com/ticket/7834">#7834</a> : Dutch;</li> 
  • CKEditor/trunk/_source/plugins/dialog/plugin.js

    r6994 r7001  
    863863                        { 
    864864                                for ( var j in this._.contents[i] ) 
    865                                         fn( this._.contents[i][j] ); 
     865                                        fn.call( this, this._.contents[i][j] ); 
    866866                        } 
    867867                        return this; 
     
    914914                        this.foreach( function( widget ) 
    915915                                { 
     916                                        // Make sure IE triggers "change" event on last focused input before closing the dialog. (#7915) 
     917                                        if ( CKEDITOR.env.ie && this._.currentFocusIndex == widget.focusIndex ) 
     918                                                widget.getInputElement().$.blur(); 
     919 
    916920                                        if ( widget.commit ) 
    917921                                                widget.commit.apply( widget, args ); 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy