summaryrefslogtreecommitdiff
path: root/program/js/tiny_mce/plugins/searchreplace/editor_plugin_src.js
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-04-20 19:11:10 +0000
committerthomascube <thomas@roundcube.net>2011-04-20 19:11:10 +0000
commita9251be2f09fb5f18a85d201c67668c70980efe3 (patch)
tree59d8e5e6de86e4bcde237f2b5793eccb98a7ca87 /program/js/tiny_mce/plugins/searchreplace/editor_plugin_src.js
parent164b45964edc699db9e049dddd91e9de07635fcd (diff)
Update to TinyMCE 3.4.2 to fix errors in IE9v0.5.2@4679
Diffstat (limited to 'program/js/tiny_mce/plugins/searchreplace/editor_plugin_src.js')
-rw-r--r--program/js/tiny_mce/plugins/searchreplace/editor_plugin_src.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/program/js/tiny_mce/plugins/searchreplace/editor_plugin_src.js b/program/js/tiny_mce/plugins/searchreplace/editor_plugin_src.js
index 1433a06a4..4c87e8fa7 100644
--- a/program/js/tiny_mce/plugins/searchreplace/editor_plugin_src.js
+++ b/program/js/tiny_mce/plugins/searchreplace/editor_plugin_src.js
@@ -12,6 +12,10 @@
tinymce.create('tinymce.plugins.SearchReplacePlugin', {
init : function(ed, url) {
function open(m) {
+ // Keep IE from writing out the f/r character to the editor
+ // instance while initializing a new dialog. See: #3131190
+ window.focus();
+
ed.windowManager.open({
file : url + '/searchreplace.htm',
width : 420 + parseInt(ed.getLang('searchreplace.delta_width', 0)),