// addJqueryPlugin receives array in first argument

This commit is contained in:
gRoussac
2013-10-21 15:05:03 +02:00
parent a9e45fccf3
commit a05c748e81
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ class CrossSelling extends Module
{ {
$this->context->controller->addCSS(($this->_path).'crossselling.css', 'all'); $this->context->controller->addCSS(($this->_path).'crossselling.css', 'all');
$this->context->controller->addJS(($this->_path).'js/crossselling.js'); $this->context->controller->addJS(($this->_path).'js/crossselling.js');
$this->context->controller->addJqueryPlugin('scrollTo', 'serialScroll'); $this->context->controller->addJqueryPlugin(array('scrollTo', 'serialScroll'));
} }
/** /**
@@ -186,7 +186,7 @@ class productsCategory extends Module
{ {
$this->context->controller->addCSS($this->_path.'productscategory.css', 'all'); $this->context->controller->addCSS($this->_path.'productscategory.css', 'all');
$this->context->controller->addJS($this->_path.'productscategory.js'); $this->context->controller->addJS($this->_path.'productscategory.js');
$this->context->controller->addJqueryPlugin('scrollTo', 'serialScroll'); $this->context->controller->addJqueryPlugin(array('scrollTo', 'serialScroll'));
} }
public function hookAddProduct($params) public function hookAddProduct($params)