Changeset 2125

Show
Ignore:
Timestamp:
2008-06-24 13:18:15 (7 months ago)
Author:
fredck
Message:

Merged trunk into branches/versions/2.6.x. Final commit for the release of version 2.6.2 (2nd trial).

Location:
FCKeditor/branches/versions/2.6.x/editor/_source
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/branches/versions/2.6.x/editor/_source/classes/fckstyle.js

    r1825 r2125  
    222222                                                                                                continue ; 
    223223 
     224                                                                                        /*jsl:fallthru*/ 
     225 
    224226                                                                                default : 
    225227                                                                                        FCKDomTools.RemoveAttribute( pathElement, att ) ; 
     
    374376                                                                                continue ; 
    375377 
     378                                                                        /*jsl:fallthru*/ 
     379 
    376380                                                                default : 
    377381                                                                        FCKDomTools.RemoveAttribute( currentNode, att ) ; 
     
    546550                                                        if ( FCKDomTools.GetAttributeValue( innerElement, att ) != this.GetFinalAttributeValue( att ) ) 
    547551                                                                continue ; 
     552 
     553                                                        /*jsl:fallthru*/ 
    548554 
    549555                                                default : 
  • FCKeditor/branches/versions/2.6.x/editor/_source/internals/fckdialog.js

    r2113 r2125  
    100100                        var viewSize = FCKTools.GetViewPaneSize( topWindow ) ; 
    101101                        var scrollPosition = { 'X' : 0, 'Y' : 0 } ; 
    102                         if ( FCKBrowserInfo.IsIE && !FCKBrowserInfo.IsIE7 ) 
    103                                 FCKTools.GetScrollPosition( topWindow ) ; 
     102                        var useAbsolutePosition = FCKBrowserInfo.IsIE && ( !FCKBrowserInfo.IsIE7 || !FCKTools.IsStrictMode( topWindow.document ) ) ; 
     103                        if ( useAbsolutePosition ) 
     104                                scrollPosition = FCKTools.GetScrollPosition( topWindow ) ; 
    104105                        var iTop  = Math.max( scrollPosition.Y + ( viewSize.Height - height - 20 ) / 2, 0 ) ; 
    105106                        var iLeft = Math.max( scrollPosition.X + ( viewSize.Width - width - 20 )  / 2, 0 ) ; 
     
    117118                        FCKDomTools.SetElementStyles( dialog, 
    118119                                        { 
    119                                                 'position'      : ( FCKBrowserInfo.IsIE && !FCKBrowserInfo.IsIE7 ) ? 'absolute' : 'fixed', 
     120                                                'position'      : ( useAbsolutePosition ) ? 'absolute' : 'fixed', 
    120121                                                'top'           : iTop + 'px', 
    121122                                                'left'          : iLeft + 'px',