//
This commit is contained in:
@@ -273,7 +273,7 @@ abstract class ControllerCore
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
$plugin_path = Media::getJqueryPluginPath($name);
|
$plugin_path = Media::getJqueryPluginPath($name, $folder);
|
||||||
|
|
||||||
$this->addCSS($plugin_path['css']);
|
$this->addCSS($plugin_path['css']);
|
||||||
$this->addJS($plugin_path['js']);
|
$this->addJS($plugin_path['js']);
|
||||||
|
|||||||
+1
-1
@@ -76,7 +76,7 @@ class HelperCore
|
|||||||
($use_search ? '<script type="text/javascript" src="'._PS_JS_DIR_.'jquery/jquery.autocomplete.js"></script>' : '' ).'
|
($use_search ? '<script type="text/javascript" src="'._PS_JS_DIR_.'jquery/jquery.autocomplete.js"></script>' : '' ).'
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var inputName = "'.$input_name.';";
|
var inputName = "'.$input_name.';";
|
||||||
var use_radio = \''.($use_radio ? 'radio' : 'select').'\';';
|
var use_radio = '.($use_radio ? '1' : '0').';';
|
||||||
if (sizeof($selected_cat) > 0)
|
if (sizeof($selected_cat) > 0)
|
||||||
{
|
{
|
||||||
if (isset($selected_cat[0]))
|
if (isset($selected_cat[0]))
|
||||||
|
|||||||
@@ -333,7 +333,7 @@ function checkCategory()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$('li#'+category_to_check+' > input[type=checkbox]').attr('checked', 'checked');
|
$('li#'+category_to_check+' > input').attr('checked', 'checked');
|
||||||
updateNbSubCategorySelected($('li#'+category_to_check+' > input[type=checkbox]'), true);
|
updateNbSubCategorySelected($('li#'+category_to_check+' > input[type=checkbox]'), true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user