// It is now possible to add customs params when using ajax call with the 'details' action
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user