// It is now possible to add customs params when using ajax call with the 'details' action

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9956 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
bMancone
2011-11-08 13:41:11 +00:00
parent 817ed773bb
commit 4f0bd1ad42
3 changed files with 9 additions and 2 deletions
@@ -34,7 +34,10 @@ $(document).ready(function() {
controller: '{$controller}',
token: '{$token}',
action: '{$action}',
ajax: true
ajax: true,
{foreach $params as $key => $param}
{$key}: {$param},
{/foreach}
},
context: document.body,
dataType: 'json',
@@ -122,4 +125,4 @@ $(document).ready(function() {
</script>
<a href="#" id="details_{$id}">
<img src="../img/admin/more.png" alt="{$action}" title="{$action}" />
</a>
</a>