includes/clientside/tinymce/themes/advanced/js/anchor.js
changeset 395 fa4c5ecb7c9a
parent 335 67bd3121a12e
child 543 dffcbfbc4e59
--- a/includes/clientside/tinymce/themes/advanced/js/anchor.js	Thu Jan 31 22:29:07 2008 -0500
+++ b/includes/clientside/tinymce/themes/advanced/js/anchor.js	Sat Feb 02 11:54:16 2008 -0500
@@ -16,6 +16,9 @@
 
 	update : function() {
 		var ed = this.editor;
+		
+		tinyMCEPopup.restoreSelection();
+		ed.selection.collapse(1);
 
 		// Webkit acts weird if empty inline element is inserted so we need to use a image instead
 		if (tinymce.isWebKit)