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

This commit is contained in:
bMancone
2011-11-08 13:41:11 +00:00
parent 1d717225a8
commit 90fec28d2c
3 changed files with 9 additions and 2 deletions
+3
View File
@@ -115,6 +115,8 @@ class HelperListCore extends Helper
*/
public $no_back = true;
public $ajax_params = array();
public function __construct()
{
$this->base_folder = 'helper/list/';
@@ -393,6 +395,7 @@ class HelperListCore extends Helper
'controller' => str_replace('Controller', '', get_class($this->context->controller)),
'token' => $this->token,
'action' => self::$cache_lang['Details'],
'params' => $this->ajax_params
));
return $tpl->fetch();
}