Changeset 2096

Show
Ignore:
Timestamp:
2008-06-19 11:04:00 (7 months ago)
Author:
fredck
Message:

Fixed #2276 and #2279 : On Opera and Firefox 3, the entire page was scrolling on ENTER.

Location:
FCKeditor/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/_source/classes/fckenterkey.js

    r1996 r2096  
    532532                } 
    533533 
    534                 if ( FCKBrowserInfo.IsSafari ) 
     534                if ( FCKBrowserInfo.IsGeckoLike ) 
    535535                        FCKDomTools.ScrollIntoView( eNextBlock || eNewBlock, false ) ; 
    536                 else if ( FCKBrowserInfo.IsGeckoLike ) 
    537                         ( eNextBlock || eNewBlock ).scrollIntoView( false ) ; 
    538536 
    539537                oRange.Select() ; 
  • FCKeditor/trunk/editor/_source/internals/fckdomtools.js

    r1803 r2096  
    973973 
    974974        /** 
    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. 
    977978         */ 
    978979        ScrollIntoView : function( element, alignTop ) 
  • FCKeditor/trunk/_whatsnew.html

    r2095 r2096  
    6060                        logic. A new configuration directive <strong>MsWebBrowserControlCompat</strong> has been added 
    6161                        for those who wish to force the #183 fix to be enabled.</li>  
     62                <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 
     63                        and Firefox 3, the entire page was scrolling on ENTER.</li> 
    6264        </ul> 
    6365        <p>