Ticket #8357: 8357.patch

File 8357.patch, 691 bytes (added by Garry Yao, 13 years ago)
  • _source/plugins/dialog/plugin.js

     
    29342934                exec : function( editor )
    29352935                {
    29362936                        // Special treatment for Opera. (#8031)
    2937                         CKEDITOR.tools.setTimeout( function()
    2938                            {
    2939                                         editor.openDialog( this.dialogName );
    2940                            }, 0, this );
     2937                        CKEDITOR.env.opera ?
     2938                                CKEDITOR.tools.setTimeout( function() { editor.openDialog( this.dialogName ) }, 0, this )
     2939                                : editor.openDialog( this.dialogName );
    29412940                },
    29422941
    29432942                // Dialog commands just open a dialog ui, thus require no undo logic,
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy