// Fixed upgrade to 1.6.0.1

This commit is contained in:
Damien Metzger
2013-12-02 15:28:02 +01:00
parent 0d7a48095c
commit c8ca67eef5
8 changed files with 62 additions and 65 deletions
+2 -2
View File
@@ -89,7 +89,7 @@ class Dashgoals extends Module
&& parent::install()
&& $this->registerHook('dashboardZoneTwo')
&& $this->registerHook('dashboardData')
&& $this->registerHook('displayBackOfficeHeader')
&& $this->registerHook('actionAdminControllerSetMedia')
);
}
@@ -104,7 +104,7 @@ class Dashgoals extends Module
return parent::uninstall();
}
public function hookDisplayBackOfficeHeader()
public function hookActionAdminControllerSetMedia()
{
if (get_class($this->context->controller) == 'AdminDashboardController')
$this->context->controller->addJs($this->_path.'views/js/'.$this->name.'.js');