Commit cb67ab3a authored by lLefevre's avatar lLefevre

// fix added autocomplete in module blocksearch

parent 84e1b62b
......@@ -54,10 +54,7 @@ class BlockSearch extends Module
public function hookHeader($params)
{
if (Configuration::get('PS_SEARCH_AJAX'))
{
$this->context->controller->addCSS(_PS_CSS_DIR_.'jquery.autocomplete.css');
$this->context->controller->addJS(_PS_JS_DIR_.'jquery/jquery.autocomplete.js');
}
$this->context->controller->addJqueryPlugin('autocomplete');
$this->context->controller->addCSS(_THEME_CSS_DIR_.'product_list.css');
$this->context->controller->addCSS(($this->_path).'blocksearch.css', 'all');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment