// Fix #PSCFV-3971

This commit is contained in:
rGaillard committed 2012-09-12 14:07:14 +00:00
1 parent c41ac6c214
commit 31f48a12bb
2 files changed
+3 -3

No files matched your search

+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);
}