// 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:
@@ -412,7 +412,7 @@ function reloadContent(params_plus)
|
||||
val = $('#pagination #nb_item').val();
|
||||
$('#pagination #nb_item').children().each(function(it, option) {
|
||||
if (option.value == val)
|
||||
$(option).attr('selected', 'selected');
|
||||
$(option).attr('selected', true);
|
||||
else
|
||||
$(option).removeAttr('selected');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user