diff options
Diffstat (limited to 'program/js/tiny_mce/plugins/searchreplace/js/searchreplace.js')
-rw-r--r-- | program/js/tiny_mce/plugins/searchreplace/js/searchreplace.js | 4 |
1 files changed, 4 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 a8585cccc..c0a624329 100644 --- a/program/js/tiny_mce/plugins/searchreplace/js/searchreplace.js +++ b/program/js/tiny_mce/plugins/searchreplace/js/searchreplace.js @@ -75,6 +75,10 @@ var SearchReplaceDialog = { r.select();
replace();
fo = 1;
+
+ if (b) {
+ r.moveEnd("character", -(rs.length)); // Otherwise will loop forever
+ }
}
tinyMCEPopup.storeSelection();
|