Index: branches/5.2.x/core/admin_templates/js/script.js =================================================================== diff -u -N -r14856 -r14895 --- branches/5.2.x/core/admin_templates/js/script.js (.../script.js) (revision 14856) +++ branches/5.2.x/core/admin_templates/js/script.js (.../script.js) (revision 14895) @@ -1817,7 +1817,7 @@ // setTimeout allows to call method indirectly. Without it whole idea won't work 2nd time (try adding 2 relations one after another) setTimeout( function() { - openSelector('adm', $ru.replace('%5C', '\\') + '&merge_opener_stack=1'); + openSelector('adm', $ru.replace(/%5C/g, '\\') + '&merge_opener_stack=1'); }, 200 ); @@ -1828,7 +1828,7 @@ window.focus(); if ( !(($force_skip_refresh === true) || (typeof $skip_refresh != 'undefined' && $skip_refresh)) ) { - window.location.href = $redirect_url.replace('%5C', '\\'); + window.location.href = $redirect_url.replace(/%5C/g, '\\'); } }