Changeset 1465
- Timestamp:
- 2008-02-04 04:40:31 (8 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/internals/fckdialog.js
r1456 r1465 63 63 return ; 64 64 65 var documentElement = topDocument.documentElement;65 var relElement = FCKTools.IsStrictMode( topDocument ) ? topDocument.documentElement : topDocument.body ; 66 66 67 67 FCKDomTools.SetElementStyles( cover, 68 68 { 69 'width' : Math.max( documentElement.scrollWidth,70 documentElement.clientWidth,69 'width' : Math.max( relElement.scrollWidth, 70 relElement.clientWidth, 71 71 topDocument.scrollWidth || 0 ) - 1 + 'px', 72 'height' : Math.max( documentElement.scrollHeight,73 documentElement.clientHeight,72 'height' : Math.max( relElement.scrollHeight, 73 relElement.clientHeight, 74 74 topDocument.scrollHeight || 0 ) - 1 + 'px' 75 75 } ) ;