Updating TinyMce to latest version

- Corrects IE9 issues

--HG--
branch : dev
This commit is contained in:
Sébastien Ros
2010-10-17 10:20:57 -07:00
parent bdea6c5386
commit 5035671ab5
173 changed files with 14454 additions and 10634 deletions

View File

@@ -42,6 +42,10 @@ var SearchReplaceDialog = {
ca = f[m + '_panel_casesensitivebox'].checked;
rs = f['replace_panel_replacestring'].value;
if (tinymce.isIE) {
r = ed.getDoc().selection.createRange();
}
if (s == '')
return;
@@ -75,6 +79,10 @@ var SearchReplaceDialog = {
r.select();
replace();
fo = 1;
if (b) {
r.moveEnd("character", -(rs.length)); // Otherwise will loop forever
}
}
tinyMCEPopup.storeSelection();
@@ -102,6 +110,10 @@ var SearchReplaceDialog = {
se.collapse(b);
r = se.getRng();
if (tinymce.isIE) {
r = ed.getDoc().selection.createRange();
}
// Whats the point
if (!s)
return;