Upgrade TinyMCE to v3.4.5
[citadel.git] / webcit / tiny_mce / plugins / searchreplace / editor_plugin_src.js
index 1433a06a4aef1b25ce965360a9cc3e102b61685e..4c87e8fa79d0fdd12b5f577094f74c549db70266 100644 (file)
        tinymce.create('tinymce.plugins.SearchReplacePlugin', {\r
                init : function(ed, url) {\r
                        function open(m) {\r
+                               // Keep IE from writing out the f/r character to the editor\r
+                               // instance while initializing a new dialog. See: #3131190\r
+                               window.focus();\r
+\r
                                ed.windowManager.open({\r
                                        file : url + '/searchreplace.htm',\r
                                        width : 420 + parseInt(ed.getLang('searchreplace.delta_width', 0)),\r