[-] FO : mobile theme : fix #PSCFV-4275 : delete calls to css and js not used

This commit is contained in:
lLefevre committed 2012-09-24 12:47:49 +00:00
1 parent d0fc9eb928
commit 60fccb5a82
4 files changed
+33 -19

No files matched your search

@@ -315,11 +315,14 @@ class Blockreinsurance extends Module
$helper->token = Tools::getAdminTokenLite('AdminModules');
$helper->currentIndex = AdminController::$currentIndex.'&configure='.$this->name;
return $helper;
}
public function hookFooter($params)
{
// Check if not a mobile theme
if ($this->context->getMobileDevice() != false)
return false;
$this->context->controller->addCSS($this->_path.'style.css', 'all');
$infos = $this->getListContent($this->context->language->id);
$this->context->smarty->assign(array('infos' => $infos, 'nbblocks' => count($infos)));