This commit is contained in:
vAugagneur
2011-10-06 15:45:53 +00:00
parent 4f742a9ce8
commit 07eb5016ae
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -273,7 +273,7 @@ abstract class ControllerCore
}
}
else
$plugin_path = Media::getJqueryPluginPath($name);
$plugin_path = Media::getJqueryPluginPath($name, $folder);
$this->addCSS($plugin_path['css']);
$this->addJS($plugin_path['js']);
+1 -1
View File
@@ -76,7 +76,7 @@ class HelperCore
($use_search ? '<script type="text/javascript" src="'._PS_JS_DIR_.'jquery/jquery.autocomplete.js"></script>' : '' ).'
<script type="text/javascript">
var inputName = "'.$input_name.';";
var use_radio = \''.($use_radio ? 'radio' : 'select').'\';';
var use_radio = '.($use_radio ? '1' : '0').';';
if (sizeof($selected_cat) > 0)
{
if (isset($selected_cat[0]))
+1 -1
View File
@@ -333,7 +333,7 @@ function checkCategory()
}
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);
}
}