Ticket #3600: 3600.patch

File 3600.patch, 911 bytes (added by Garry Yao, 15 years ago)
  • _source/plugins/dialog/plugin.js

     
    609609                        // Reset the hasFocus state.
    610610                        this._.hasFocus = false;
    611611
    612                         // Save the initial values of the dialog.
    613                         this.foreach( function( contentObj ) { contentObj.setInitValue && contentObj.setInitValue(); } );
    614 
    615612                        // Rearrange the dialog to the middle of the window.
    616613                        CKEDITOR.tools.setTimeout( function()
    617614                                {
     
    625622                                        // Execute onLoad for the first show.
    626623                                        this.fireOnce( 'load', {} );
    627624                                        this.fire( 'show', {} );
     625
     626                                        // Save the initial values of the dialog.
     627                                        this.foreach( function( contentObj ) { contentObj.setInitValue && contentObj.setInitValue(); } );
     628
    628629                                },
    629630                                100, this );
    630631                },
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy