// Merge -> revision 8059
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8062 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -228,6 +228,12 @@ function updateNbSubCategorySelected(category, add)
|
||||
var currentSpan = category.parent().parent().parent().children('.nb_sub_cat_selected');
|
||||
var parentNbSubCategorySelected = currentSpan.children('.nb_sub_cat_selected_value').html();
|
||||
|
||||
if (use_radio)
|
||||
{
|
||||
$('.nb_sub_cat_selected').hide();
|
||||
return false;
|
||||
}
|
||||
|
||||
if (add)
|
||||
var newValue = parseInt(parentNbSubCategorySelected)+1;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user