Ticket #5580: 5580.patch

File 5580.patch, 914 bytes (added by Charlie, 14 years ago)

Altered maximiser plugin to add the maximised class before calling the resize handler. See comments for more

  • plugin.js

     
    226226                                                                } );
    227227
    228228                                                        shim =  createIframeShim( container );          // IE6 select element penetration when maximized. (#4459)
     229                                                       
     230                                                        // Add cke_maximized class before resize handle since that will change things sizes (#5580)
     231                                                        container.addClass( 'cke_maximized' );
     232                                                       
    229233                                                        resizeHandler();
    230234
    231235                                                        // Still not top left? Fix it. (Bug #174)
     
    239243                                                        // Fixing positioning editor chrome in Firefox break design mode. (#5149)
    240244                                                        CKEDITOR.env.gecko && refreshCursor( editor );
    241245
    242                                                         // Add cke_maximized class.
    243                                                         container.addClass( 'cke_maximized' );
    244246                                                }
    245247                                                else if ( this.state == CKEDITOR.TRISTATE_ON )  // Restore from fullscreen if the state is on.
    246248                                                {
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy