// Fix JS event

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13013 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2012-02-06 10:02:12 +00:00
parent 670d1cb155
commit 380691e0fc
@@ -40,7 +40,8 @@
});
// Make sure the checkbox is checked/unchecked when the link is clicked
$('#toggle_category_tree').bind('click', function(){
$('#toggle_category_tree').bind('click', function(event){
event.preventDefault();
$('#block_category_tree').toggle();
if ($('#block_category_tree').is(':visible'))
$(this).find('input').attr('checked', 'checked');