Ticket #6390: 6390.patch

File 6390.patch, 749 bytes (added by Tobiasz Cudnik, 13 years ago)
  • _source/plugins/dialog/plugin.js

     
    687687                                selection && selection.lock();
    688688                        }
    689689
     690                        // Manage the dialog's lock.
     691                        if ( this._.showLock )
     692                                return;
     693                        this._.showLock = 1;
     694
    690695                        // Insert the dialog's element to the root document.
    691696                        var element = this._.element;
    692697                        var definition = this.definition;
     
    884889                        delete this._.parentDialog;
    885890                        // Reset the initial values of the dialog.
    886891                        this.foreach( function( contentObj ) { contentObj.resetInitValue && contentObj.resetInitValue(); } );
     892                        this._.showLock = 0;
    887893                },
    888894
    889895                /**
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy