From a69aa9fd3c2e36aad87ba4eb84dfa056aff46ba4 Mon Sep 17 00:00:00 2001 From: rGaillard Date: Thu, 13 Sep 2012 12:39:17 +0000 Subject: [PATCH] [-] FO: Fix PSCFV-3996 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17335 b9a71923-0436-4b27-9f14-aed3839534dd --- 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']);