[-] BO : fixed bug #PSCFV-3738 - addCSS() and addJS() methods not working in backOfficeHeader hook

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17029 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vAugagneur committed 2012-08-27 16:00:30 +00:00
1 parent a8fd55fa4b
commit 88ed4999ba
1 file changed
+9 -1
+9 -1
View File
@@ -1675,7 +1675,15 @@ class AdminControllerCore extends Controller
'token' => $this->token, 'token' => $this->token,
)); ));
$this->context->smarty->assign('submit_form_ajax', (int)Tools::getValue('submitFormAjax')); if ($this->display_header)
$this->context->smarty->assign('displayBackOfficeHeader', Hook::exec('displayBackOfficeHeader', array()));
$this->context->smarty->assign(
array(
'displayBackOfficeTop' => Hook::exec('displayBackOfficeTop', array()),
'submit_form_ajax' => (int)Tools::getValue('submitFormAjax')
)
);
$this->initProcess(); $this->initProcess();
} }