// 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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user