Changeset 2159
- Timestamp:
- 2008-07-03 12:25:47 (6 months ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 3 modified
-
editor/dialog/fck_replace.html (modified) (1 diff)
-
editor/_source/internals/fckdomtools.js (modified) (1 diff)
-
_whatsnew.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/dialog/fck_replace.html
r2060 r2159 186 186 if ( focusNode.nodeType != 1 ) 187 187 focusNode = focusNode.parentNode ; 188 focusNode.scrollIntoView(false ) ;188 FCKDomTools.ScrollIntoView( focusNode, false ) ; 189 189 this._cursors = charRange._cursors ; 190 190 }, -
FCKeditor/trunk/editor/_source/internals/fckdomtools.js
r2144 r2159 990 990 if ( alignTop === false ) 991 991 { 992 offset += element.offsetHeight ;992 offset += element.offsetHeight || 0 ; 993 993 994 994 // Consider the margin in the scroll, which is ok for our current 995 995 // needs, but needs investigation if we will be using this function 996 996 // in other places. 997 offset += parseInt( this.GetCurrentElementStyle( element, 'marginBottom' ) || 0, 10 ) ;997 offset += parseInt( this.GetCurrentElementStyle( element, 'marginBottom' ) || 0, 10 ) || 0 ; 998 998 } 999 999 1000 1000 // Appends the offsets for the entire element hierarchy. 1001 offset += element.offsetTop ; 1002 while ( ( element = element.offsetParent ) ) 1003 offset += element.offsetTop || 0 ; 1001 var elementPosition = FCKTools.GetDocumentPosition( window, element ) ; 1002 offset += elementPosition.y ; 1004 1003 1005 1004 // Scroll the window to the desired position, if not already visible. -
FCKeditor/trunk/_whatsnew.html
r2158 r2159 71 71 where the merge down command for tables cells does not work in IE for more than two 72 72 cells.</li> 73 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2320">#2320</a>] Fixed the issue 74 where the Find/Replace dialog scrolls the entire page.</li> 73 75 </ul> 74 76 <p>