Changeset 4836


Ignore:
Timestamp:
12/29/2009 03:05:28 PM (6 years ago)
Author:
garry.yao
Message:

#4835: fixing regression of [4653] from 3.1.x branch.

Location:
CKEditor/trunk/_source
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/_source/plugins/maximize/plugin.js

    r4375 r4836  
    115115                                        exec : function()
    116116                                        {
    117                                                 var container = editor.container.getChild( [ 0, 0 ] );
     117                                                var container = editor.container.getChild( 0 );
    118118                                                var contents = editor.getThemeSpace( 'contents' );
    119119
  • CKEditor/trunk/_source/skins/kama/mainui.css

    r4780 r4836  
    1717        border: 1px solid #D3D3D3;
    1818        padding: 5px;
     19}
     20
     21.cke_skin_kama span.cke_browser_webkit
     22{
     23        display: block;
    1924}
    2025
  • CKEditor/trunk/_source/skins/office2003/mainui.css

    r4774 r4836  
    1111        display: inline-table;
    1212        width: 100%;
     13}
     14
     15.cke_skin_office2003 span.cke_browser_webkit
     16{
     17        display: block;
    1318}
    1419
  • CKEditor/trunk/_source/skins/v2/mainui.css

    r4774 r4836  
    1414
    1515.cke_skin_v2
     16{
     17        display: block;
     18}
     19
     20.cke_skin_v2 span.cke_browser_webkit
    1621{
    1722        display: block;
  • CKEditor/trunk/_source/themes/default/theme.js

    r4780 r4836  
    277277                width += 'px';
    278278
    279         var contents = CKEDITOR.document.getById( 'cke_contents_' + this.name );
    280         var outer = resizeInner ? contents.getAscendant( 'table' ).getParent()
    281                 : contents.getAscendant( 'table' ).getParent().getParent().getParent();
     279        var container = this.container,
     280                contents = CKEDITOR.document.getById( 'cke_contents_' + this.name ),
     281                outer = resizeInner ? container.getChild( 0 ) : container;
    282282
    283283        // Resize the width first.
     
    303303CKEDITOR.editor.prototype.getResizable = function()
    304304{
    305         return this.container.getChild( [ 0, 0 ] );
     305        return this.container.getChild( 0 );
    306306};
    307307
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy