Index: /FCKeditor/trunk/_whatsnew.html
===================================================================
--- /FCKeditor/trunk/_whatsnew.html (revision 1963)
+++ /FCKeditor/trunk/_whatsnew.html (revision 1964)
@@ -72,4 +72,6 @@
FCK.InsertHtml() doesn't insert contents at the caret position when dialogs are opened in IE.
+
[#1764] FCKeditor will no longer
+ catch focus in IE on load when StartupFocus is false and the initial content is empty.
Index: /FCKeditor/trunk/editor/_source/internals/fck.js
===================================================================
--- /FCKeditor/trunk/editor/_source/internals/fck.js (revision 1963)
+++ /FCKeditor/trunk/editor/_source/internals/fck.js (revision 1964)
@@ -890,4 +890,12 @@
&& FCK.EditorDocument.body.firstChild == paddingNode )
{
+ /*
+ * Bug #1764: Don't move the selection if the
+ * current selection isn't in the editor
+ * document.
+ */
+ if ( FCKSelection._GetSelectionDocument( FCK.EditorDocument.selection ) != FCK.EditorDocument )
+ return ;
+
var range = FCK.EditorDocument.body.createTextRange() ;
var clearContents = false ;