// 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:
lLefevre
2011-11-15 21:57:11 +00:00
parent 0552cfb60a
commit 916d1fbaef
3 changed files with 7 additions and 3 deletions
+2 -2
View File
@@ -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">