includes/clientside/tinymce/plugins/advimage/js/image.js
changeset 476 f26a69c40431
parent 459 31c23016ab62
child 543 dffcbfbc4e59
--- a/includes/clientside/tinymce/plugins/advimage/js/image.js	Thu Mar 06 20:45:46 2008 -0500
+++ b/includes/clientside/tinymce/plugins/advimage/js/image.js	Thu Mar 06 20:47:11 2008 -0500
@@ -117,6 +117,8 @@
 	insertAndClose : function() {
 		var ed = tinyMCEPopup.editor, f = document.forms[0], nl = f.elements, v, args = {}, el;
 
+		tinyMCEPopup.restoreSelection();
+
 		// Fixes crash in Safari
 		if (tinymce.isWebKit)
 			ed.getWin().focus();