// fix category autocompletion binding

This commit is contained in:
tDidierjean
2011-12-20 15:13:26 +00:00
parent 51a07c459a
commit b1f61bf4c7
2 changed files with 5 additions and 3 deletions
+3 -2
View File
@@ -260,7 +260,8 @@ function updateNbSubCategorySelected(category, add)
updateNbSubCategorySelected(currentSpan.parent().children('input'), add);
}
$(document).ready( function() {
function searchCategory()
{
var category_to_check;
if ($('#search_cat').length)
{
@@ -283,7 +284,7 @@ $(document).ready( function() {
parent_ids = getParentCategoriesIdAndOpen(item[1]);
});
}
});
}
function getParentCategoriesIdAndOpen(id_category)
{