// Fix attr('checked'), attr('disabled') and attr('selected') with jquery update #PSCFV-2142
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