// Fix added token in link of AdminQuickAccesses
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10152 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -227,8 +227,8 @@ $(document).ready(function()
|
||||
{
|
||||
var eltVal = $(elt).val();
|
||||
if (eltVal == "0") return false;
|
||||
else if (eltVal.substr(eltVal.length - 6) == "_blank") window.open(eltVal.substr(0, eltVal.length - 6), "_blank");
|
||||
else location.href = eltVal;
|
||||
else if (eltVal.substr(eltVal.length - 6) == "_blank") window.open(eltVal.substr(0, eltVal.length - 6)+'&token={$token}', "_blank");
|
||||
else location.href = eltVal+'&token={$token}';
|
||||
}
|
||||
</script>
|
||||
<select onchange="quickSelect(this);" id="quick_select">
|
||||
|
||||
Reference in New Issue
Block a user