Changeset 1964

Show
Ignore:
Timestamp:
2008-05-08 11:34:36 (3 months ago)
Author:
martinkou
Message:

Fixed #1764 : FCKeditor will no longer catch focus in IE on load when StartupFocus is false and the initial content is empty.

Location:
FCKeditor/trunk
Files:
2 modified

Legend:

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

    r1950 r1964  
    890890                                        && FCK.EditorDocument.body.firstChild == paddingNode ) 
    891891                        { 
     892                                /* 
     893                                 * Bug #1764: Don't move the selection if the 
     894                                 * current selection isn't in the editor 
     895                                 * document. 
     896                                 */ 
     897                                if ( FCKSelection._GetSelectionDocument( FCK.EditorDocument.selection ) != FCK.EditorDocument ) 
     898                                        return ; 
     899 
    892900                                var range = FCK.EditorDocument.body.createTextRange() ; 
    893901                                var clearContents = false ; 
  • FCKeditor/trunk/_whatsnew.html

    r1963 r1964  
    7272                        FCK.InsertHtml() doesn't insert contents at the caret position when dialogs are opened in IE. 
    7373                        </li> 
     74                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1764">#1764</a>] FCKeditor will no longer 
     75                        catch focus in IE on load when StartupFocus is false and the initial content is empty.</li> 
    7476        </ul> 
    7577        <h3>