// 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:
@@ -35,14 +35,14 @@
|
||||
if (disabled_customer || disabled_stock)
|
||||
{
|
||||
$("input[name=share_order]").each(function(i) {
|
||||
$(this).attr('disabled', 'disabled');
|
||||
$(this).attr('disabled', true);
|
||||
});
|
||||
|
||||
$('#share_order_off').attr('checked', true);
|
||||
}
|
||||
else
|
||||
{
|
||||
$('input[name=share_order]').attr('disabled', '');
|
||||
$('input[name=share_order]').attr('disabled', false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user