From f13e348dcb596a5ab92edf96019587872b9990cb Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Mon, 9 Jan 2012 08:27:16 +0000 Subject: [PATCH] // Fixing problem with blocklayered git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12245 b9a71923-0436-4b27-9f14-aed3839534dd --- modules/blocklayered/blocklayered.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/blocklayered/blocklayered.js b/modules/blocklayered/blocklayered.js index 906516aa5..aa1e9508d 100644 --- a/modules/blocklayered/blocklayered.js +++ b/modules/blocklayered/blocklayered.js @@ -292,8 +292,8 @@ function reloadContent(params_plus) } }); - $('#layered_form .select option:checked').each( function () { - if($(this).attr('id')) + $('#layered_form .select option').each( function () { + if($(this).attr('id') && $(this).parent().val() == $(this).val()) { data += '&'+$(this).attr('id') + '=' + $(this).val(); }