Browse Source

[svn r21651] FS#2867 - The FCKEditor: Implementing 2.6.5 SVN proposed patch, ticket #3181 (still opened) - http://dev.fckeditor.net/ticket/3181 .

Ivan Tcholakov 15 years ago
parent
commit
805668d46e

+ 2 - 1
main/inc/lib/fckeditor/editor/_source/internals/fckselection_ie.js

@@ -108,15 +108,16 @@ FCKSelection.SelectNode = function( node )
 		// Try to select the node as a control.
 		oRange = FCK.EditorDocument.body.createControlRange() ;
 		oRange.addElement( node ) ;
+		oRange.select() ;
 	}
 	catch(e)
 	{
 		// If failed, select it as a text range.
 		oRange = FCK.EditorDocument.body.createTextRange() ;
 		oRange.moveToElementText( node ) ;
+		oRange.select() ;
 	}
 
-	oRange.select() ;
 } ;
 
 FCKSelection.Collapse = function( toStart )

File diff suppressed because it is too large
+ 0 - 0
main/inc/lib/fckeditor/editor/js/fckeditorcode_ie.js


Some files were not shown because too many files changed in this diff