// Fix attr('checked'), attr('disabled') and attr('selected') with jquery update #PSCFV-2142
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14989 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -223,13 +223,13 @@ $('#cart_rule_form').submit(function() {
|
||||
else
|
||||
{
|
||||
$('#' + restrictions[i] + '_select_2 option').each(function(i) {
|
||||
$(this).attr('selected', 'selected');
|
||||
$(this).attr('selected', true);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
$('.product_rule_toselect option').each(function(i) {
|
||||
$(this).attr('selected', 'selected');
|
||||
$(this).attr('selected', true);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user