// Fix #PSCFV-3971

This commit is contained in:
rGaillard
2012-09-12 14:07:14 +00:00
parent ce3ea084f8
commit 2f55d5c016
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -634,7 +634,7 @@ function checkMinimalQuantity(minimal_quantity)
function colorPickerClick(elt)
{
id_attribute = $(elt).attr('id').replace('color_', '');
$('.color_pick').parent().removeClass('selected');
$(elt).parent().parent().children().removeClass('selected');
$(elt).fadeTo('fast', 1, function(){
$(this).fadeTo('fast', 0, function(){
$(this).fadeTo('fast', 1, function(){
@@ -642,7 +642,7 @@ function colorPickerClick(elt)
});
});
});
$('#color_pick_hidden').val(id_attribute);
$(elt).parent().parent().parent().children('.color_pick_hidden,#color_pick_hidden').val(id_attribute);
findCombination(false);
}