From 3923ac05ee8857593b057e574080950d2cbbb95c Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Mon, 9 Jan 2012 08:27:16 +0000 Subject: [PATCH] // Fixing problem with blocklayered --- 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(); }