Ticket #6647: 6647.patch

File 6647.patch, 1.1 KB (added by Sa'ar Zac Elias, 13 years ago)
  • _source/plugins/floatpanel/plugin.js

     
    213213                                                                        width += ( target.$.offsetWidth || 0 ) - ( target.$.clientWidth || 0 );
    214214                                                                // A little extra at the end.
    215215                                                                // If not present, IE6 might break into the next line, but also it looks better this way
    216                                                                 width += 4 ;
     216                                                                width += CKEDITOR.env.ie6Compat ? 11 : 4;
    217217
    218218                                                                target.setStyle( 'width', width + 'px' );
    219219
  • _source/plugins/menu/plugin.js

     
    4949                $ : function( editor, definition )
    5050                {
    5151                        definition = this._.definition = definition || {};
    52                         this.id = 'cke_' + CKEDITOR.tools.getNextNumber();
     52                        this.id = CKEDITOR.tools.getNextId();
    5353
    5454                        this.editor = editor;
    5555                        this.items = [];
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy