Merge branch 'ticket-12742-AntCreationCat'
This commit is contained in:
commit
79b2174ae3
@ -55,7 +55,7 @@ class AdminAntCreationcategories extends AdminTab
|
||||
|
||||
if(Tools::getValue('subcategories')) {
|
||||
$subcategories = Tools::getValue('subcategories');
|
||||
$subcategories = explode(',',$subcategories);
|
||||
$subcategories = explode(';',$subcategories);
|
||||
if(Tools::getValue('families')) {
|
||||
$families = Tools::getValue('families');
|
||||
if(Tools::getValue('subfamilies')) {
|
||||
@ -109,7 +109,7 @@ class AdminAntCreationcategories extends AdminTab
|
||||
$date = date('Y') . '-' . date('m');
|
||||
if(Tools::getValue('subcategories2')) {
|
||||
$subcategories = Tools::getValue('subcategories2');
|
||||
$subcategories = explode(',',$subcategories);
|
||||
$subcategories = explode(';',$subcategories);
|
||||
if(Tools::getValue('families')) {
|
||||
$families = Tools::getValue('families');
|
||||
if(Tools::getValue('subfamilies')) {
|
||||
@ -367,13 +367,15 @@ class AdminAntCreationcategories extends AdminTab
|
||||
$(\'#subcategories\').tagsInput({
|
||||
width: \'auto\',
|
||||
defaultText:\'Nom\',
|
||||
delimiter: [\';\']
|
||||
});
|
||||
$(\'#subcategories .tag a\').click(function(event) {
|
||||
$(\'#div-families\').empty();
|
||||
});
|
||||
$(\'#subcategories2\').tagsInput({
|
||||
width: \'auto\',
|
||||
defaultText:\'Nom\'
|
||||
defaultText:\'Nom\',
|
||||
delimiter: [\';\']
|
||||
});
|
||||
|
||||
changeSelectParent();
|
||||
|
Loading…
Reference in New Issue
Block a user