Ticket #2279: 2279.patch
File 2279.patch, 1.9 KB (added by , 17 years ago) |
---|
-
_whatsnew.html
53 53 nodeTagName object.</li> 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/2276">#2276</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/2279">#2279</a>] On Opera 57 and Firefox 3, the entire page was scrolling on ENTER.</li> 56 58 </ul> 57 59 <p> 58 60 </p> -
editor/_source/classes/fckenterkey.js
531 531 oRange.MoveToElementEditStart( bIsStartOfBlock && !bIsEndOfBlock ? eNextBlock : eNewBlock ) ; 532 532 } 533 533 534 if ( FCKBrowserInfo.Is Safari)534 if ( FCKBrowserInfo.IsGeckoLike ) 535 535 FCKDomTools.ScrollIntoView( eNextBlock || eNewBlock, false ) ; 536 else if ( FCKBrowserInfo.IsGeckoLike )537 ( eNextBlock || eNewBlock ).scrollIntoView( false ) ;538 536 539 537 oRange.Select() ; 540 538 } -
editor/_source/internals/fckdomtools.js
972 972 }, 973 973 974 974 /** 975 * Current implementation for ScrollIntoView (due to #1462). We don't have 976 * a complete implementation here, just the things that fit our needs. 975 * Current implementation for ScrollIntoView (due to #1462 and #2279). We 976 * don't have a complete implementation here, just the things that fit our 977 * needs. 977 978 */ 978 979 ScrollIntoView : function( element, alignTop ) 979 980 {