diff --git a/js/admin-categories-tree.js b/js/admin-categories-tree.js index d7b119333..05ec0fceb 100755 --- a/js/admin-categories-tree.js +++ b/js/admin-categories-tree.js @@ -317,7 +317,7 @@ function openParentCategories() { if ($('li#'+arrayCatToExpand[id]+'.hasChildren').length > 0) readyToExpand = false; - $('li#'+arrayCatToExpand[id]+'.expandable:visible span.category_label').trigger('click'); + $('li#'+arrayCatToExpand[id]+' span').trigger('click'); id++; } }