equal
deleted
inserted
replaced
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) { |