includes/clientside/tinymce/plugins/advimage/js/image.js
changeset 476 f26a69c40431
parent 459 31c23016ab62
child 543 dffcbfbc4e59
equal deleted inserted replaced
475:51386f1852b8 476:f26a69c40431
   115 	},
   115 	},
   116 
   116 
   117 	insertAndClose : function() {
   117 	insertAndClose : function() {
   118 		var ed = tinyMCEPopup.editor, f = document.forms[0], nl = f.elements, v, args = {}, el;
   118 		var ed = tinyMCEPopup.editor, f = document.forms[0], nl = f.elements, v, args = {}, el;
   119 
   119 
       
   120 		tinyMCEPopup.restoreSelection();
       
   121 
   120 		// Fixes crash in Safari
   122 		// Fixes crash in Safari
   121 		if (tinymce.isWebKit)
   123 		if (tinymce.isWebKit)
   122 			ed.getWin().focus();
   124 			ed.getWin().focus();
   123 
   125 
   124 		if (!ed.settings.inline_styles) {
   126 		if (!ed.settings.inline_styles) {