Index: branches/5.2.x/core/admin_templates/incs/close_popup.tpl
===================================================================
diff -u -N -r14572 -r14895
--- branches/5.2.x/core/admin_templates/incs/close_popup.tpl (.../close_popup.tpl) (revision 14572)
+++ branches/5.2.x/core/admin_templates/incs/close_popup.tpl (.../close_popup.tpl) (revision 14895)
@@ -12,7 +12,7 @@
var $modal_windows = truefalse;
if ($is_debug) {
- document.write('' + $redirect_url.replace('%5C', '\\') + '');
+ document.write('' + $redirect_url.replace(/%5C/g, '\\') + '');
}
else {
proceed_redirect();
@@ -43,7 +43,7 @@
}
else if (!$use_popups) {
// not using popups (for editing), but close_popup called (e.g. from selector)
- window.location.href = $redirect_url.replace('%5C', '\\');
+ window.location.href = $redirect_url.replace(/%5C/g, '\\');
}
}