Upgrade TinyMCE to v3.4.5
[citadel.git] / webcit / tiny_mce / plugins / searchreplace / editor_plugin_src.js
index 59edc3b25fdc8750cd75691218e1a814c2159c45..4c87e8fa79d0fdd12b5f577094f74c549db70266 100644 (file)
@@ -1,18 +1,25 @@
 /**\r
- * $Id: editor_plugin_src.js 686 2008-03-09 18:13:49Z spocke $\r
+ * editor_plugin_src.js\r
  *\r
- * @author Moxiecode\r
- * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.\r
+ * Copyright 2009, Moxiecode Systems AB\r
+ * Released under LGPL License.\r
+ *\r
+ * License: http://tinymce.moxiecode.com/license\r
+ * Contributing: http://tinymce.moxiecode.com/contributing\r
  */\r
 \r
 (function() {\r
        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
-                                       height : 160 + parseInt(ed.getLang('searchreplace.delta_height', 0)),\r
+                                       height : 170 + parseInt(ed.getLang('searchreplace.delta_height', 0)),\r
                                        inline : 1,\r
                                        auto_focus : 0\r
                                }, {\r