From ef08bdb6fa3aaab1417e181b71f5774e5652ab4e Mon Sep 17 00:00:00 2001 From: rGaillard Date: Thu, 13 Sep 2012 12:39:17 +0000 Subject: [PATCH] [-] FO: Fix PSCFV-3996 --- themes/default/js/product.js | 1 + 1 file changed, 1 insertion(+) diff --git a/themes/default/js/product.js b/themes/default/js/product.js index ce63b51fd..fc55829ed 100644 --- a/themes/default/js/product.js +++ b/themes/default/js/product.js @@ -713,6 +713,7 @@ function checkUrl() count++; // add class 'selected' to the selected color $('#color_'+attributesCombinations[a]['id_attribute']).addClass('selected'); + $('#color_'+attributesCombinations[a]['id_attribute']).parent().addClass('selected'); $('input:radio[value='+attributesCombinations[a]['id_attribute']+']').attr('checked', true); $('input:hidden[name=group_'+attributesCombinations[a]['id_attribute_group']+']').val(attributesCombinations[a]['id_attribute']); $('select[name=group_'+attributesCombinations[a]['id_attribute_group']+']').val(attributesCombinations[a]['id_attribute']);