diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-11-23 09:38:02 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-11-23 09:38:02 +0100 |
commit | 7184b3a0e14c81e0e582052aff64f030f07699e6 (patch) | |
tree | 034886f06f952873aeda663cfc60ff8ba5df944b /program/js/tiny_mce/plugins/searchreplace | |
parent | 184a11b4fb35dae46366adba580e7d99ac457781 (diff) |
- Update TinyMCE to version 3.5.10 (#1489442)
Diffstat (limited to 'program/js/tiny_mce/plugins/searchreplace')
-rw-r--r-- | program/js/tiny_mce/plugins/searchreplace/js/searchreplace.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/program/js/tiny_mce/plugins/searchreplace/js/searchreplace.js b/program/js/tiny_mce/plugins/searchreplace/js/searchreplace.js index 80284b9f3..eb9b6eea8 100644 --- a/program/js/tiny_mce/plugins/searchreplace/js/searchreplace.js +++ b/program/js/tiny_mce/plugins/searchreplace/js/searchreplace.js @@ -14,6 +14,7 @@ var SearchReplaceDialog = { mcTabs.onChange.add(function(tab_id, panel_id) {
t.switchMode(tab_id.substring(0, tab_id.indexOf('_')));
});
+
},
switchMode : function(m) {
@@ -39,6 +40,11 @@ var SearchReplaceDialog = { searchNext : function(a) {
var ed = tinyMCEPopup.editor, se = ed.selection, r = se.getRng(), f, m = this.lastMode, s, b, fl = 0, w = ed.getWin(), wm = ed.windowManager, fo = 0;
+ if (tinymce.isIE11 && !window.find) {
+ ed.windowManager.alert("This feature is not available in IE 11+. Upgrade TinyMCE to 4.x to get this functionallity back.");
+ return;
+ }
+
// Get input
f = document.forms[0];
s = f[m + '_panel_searchstring'].value;
|