From 380691e0fc42f227c771cc862d45b8496a7773aa Mon Sep 17 00:00:00 2001 From: tDidierjean Date: Mon, 6 Feb 2012 10:02:12 +0000 Subject: [PATCH] // Fix JS event git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13013 b9a71923-0436-4b27-9f14-aed3839534dd --- .../default/template/controllers/products/list_header.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/admin-dev/themes/default/template/controllers/products/list_header.tpl b/admin-dev/themes/default/template/controllers/products/list_header.tpl index 7e859966c..c25442474 100644 --- a/admin-dev/themes/default/template/controllers/products/list_header.tpl +++ b/admin-dev/themes/default/template/controllers/products/list_header.tpl @@ -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');