// 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:
1 parent
670d1cb155
commit
380691e0fc
1 file changed
+2
-1
@@ -40,7 +40,8 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Make sure the checkbox is checked/unchecked when the link is clicked
|
// 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();
|
$('#block_category_tree').toggle();
|
||||||
if ($('#block_category_tree').is(':visible'))
|
if ($('#block_category_tree').is(':visible'))
|
||||||
$(this).find('input').attr('checked', 'checked');
|
$(this).find('input').attr('checked', 'checked');
|
||||||
|
|||||||
Reference in new issue
Block a user