Changeset 2094
- Timestamp:
- 2008-06-19 06:31:33 (6 months ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 2 modified
-
editor/_source/internals/fckdialog.js (modified) (2 diffs)
-
_whatsnew.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/internals/fckdialog.js
r2073 r2094 99 99 // Calculate the dialog position, centering it on the screen. 100 100 var viewSize = FCKTools.GetViewPaneSize( topWindow ) ; 101 var scrollPosition = FCKTools.GetScrollPosition( topWindow ) ; 101 var scrollPosition = { 'X' : 0, 'Y' : 0 } ; 102 if ( FCKBrowserInfo.IsIE && !FCKBrowserInfo.IsIE7 ) 103 FCKTools.GetScrollPosition( topWindow ) ; 102 104 var iTop = Math.max( scrollPosition.Y + ( viewSize.Height - height - 20 ) / 2, 0 ) ; 103 105 var iLeft = Math.max( scrollPosition.X + ( viewSize.Width - width - 20 ) / 2, 0 ) ; … … 115 117 FCKDomTools.SetElementStyles( dialog, 116 118 { 117 'position' : 'absolute',119 'position' : ( FCKBrowserInfo.IsIE && !FCKBrowserInfo.IsIE7 ) ? 'absolute' : 'fixed', 118 120 'top' : iTop + 'px', 119 121 'left' : iLeft + 'px', -
FCKeditor/trunk/_whatsnew.html
r2086 r2094 54 54 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1614">#1614</a>] Unified 55 55 FCKConfig.FullBasePath with FCKConfig.BasePath.</li> 56 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2127">#2127</a>] Changed floating dialogs to use 57 fixed positioning so that they are no longer affected by scrolling.</li> 56 58 </ul> 57 59 <p>