// select associated categories on a shop creation (with the root category shown when you are not in a shop context)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13466 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
8287ff1a84
commit
2335b53cdd
1 file changed
+1
-1
@@ -271,7 +271,7 @@ class HelperCore
|
|||||||
}
|
}
|
||||||
|
|
||||||
$root_input = ' ';
|
$root_input = ' ';
|
||||||
if ($root_category->id != $top_category->id)
|
if ($root_category->id != $top_category->id || (Tools::isSubmit('ajax') && Tools::getValue('action') == 'getCategoriesFromRootCategory'))
|
||||||
$root_input = '<input type="'.(!$use_radio ? 'checkbox' : 'radio').'" name="'
|
$root_input = '<input type="'.(!$use_radio ? 'checkbox' : 'radio').'" name="'
|
||||||
.$input_name.'" value="'.$root['id_category'].'" '
|
.$input_name.'" value="'.$root['id_category'].'" '
|
||||||
.($home_is_selected ? 'checked' : '').' onclick="clickOnCategoryBox($(this));" />
|
.($home_is_selected ? 'checked' : '').' onclick="clickOnCategoryBox($(this));" />
|
||||||
|
|||||||
Reference in new issue
Block a user