Changeset 2142

Show
Ignore:
Timestamp:
2008-06-26 11:23:14 (7 months ago)
Author:
fredck
Message:

Fixed #2321 : On Firefox 3, the entire page was scrolling when inserting block elements with the FCK.InsertElement function, used by the Table and Horizontal Rule buttons.

Location:
FCKeditor/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/_source/internals/fck.js

    r2139 r2142  
    714714                                range.MoveToPosition( element, 4 ) ; 
    715715 
    716                         if ( FCKBrowserInfo.IsGecko ) 
     716                        if ( FCKBrowserInfo.IsGeckoLike ) 
    717717                        { 
    718718                                if ( next ) 
    719                                         next.scrollIntoView( false ) ; 
    720                                 element.scrollIntoView( false ) ; 
     719                                        FCKDomTools.ScrollIntoView( next, false ); 
     720                                FCKDomTools.ScrollIntoView( element, false ); 
    721721                        } 
    722722                } 
  • FCKeditor/trunk/_whatsnew.html

    r2140 r2142  
    5555                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2314">#2314</a>] Corrected 
    5656                        mixed up Chinese translations for the blockquote command.</li> 
     57                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2321">#2321</a>] On Firefox 
     58                        3, the entire page was scrolling when inserting block elements with the FCK.InsertElement 
     59                        function, used by the Table and Horizontal Rule buttons.. </li> 
    5760        </ul> 
    5861        <p>