Changeset 404


Ignore:
Timestamp:
07/03/2007 12:23:39 AM (7 years ago)
Author:
fredck
Message:

Fixed #570 : Implemented the workaround proposed by Hallvord to display the toolbar combos.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/_source/classes/fckpanel.js

    r368 r404  
    162162                // to return the correct width. Remove the first step and it will not 
    163163                // work when the editor is in RTL. 
    164                 iMainWidth = this.MainNode.offsetWidth ; 
     164                // 
     165                // The "|| this.MainNode.firstChild.offsetWidth" part has been added 
     166                // for Opera compatibility (see #570). 
     167                iMainWidth = this.MainNode.offsetWidth || this.MainNode.firstChild.offsetWidth ; 
    165168 
    166169                var oPos = FCKTools.GetElementPosition( 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy