Ticket #6083: 6083.patch

File 6083.patch, 1.2 KB (added by Tobiasz Cudnik, 14 years ago)
  • _source/plugins/specialchar/dialogs/specialchar.js

     
    4949                if ( target.getName() == 'a' && ( value = target.getChild( 0 ).getHtml() ) )
    5050                {
    5151                        target.removeClass( "cke_light_background" );
    52                         dialog.hide();
    5352
    5453                        // Firefox has bug on insert chars into a element use its own API. (#5170)
    5554                        if ( CKEDITOR.env.gecko )
    5655                                insertSpecialChar( value );
    5756                        else
    5857                                editor.insertHtml( value );
     58                       
     59                        dialog.hide();
    5960                }
    6061        };
    6162
  • _source/plugins/dialog/plugin.js

     
    28532853                        // If the dialogDefinition is already loaded, open it immediately.
    28542854                        if ( typeof dialogDefinitions == 'function' && dialogSkin._isLoaded )
    28552855                        {
     2856                                if ( CKEDITOR.env.ie )
     2857                                        this.getSelection().lock();
     2858                               
    28562859                                var storedDialogs = this._.storedDialogs ||
    28572860                                        ( this._.storedDialogs = {} );
    28582861
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy