Issue #1480568 by gagarine, henwan: Fixed use $.attr with false instead of empty string.
parent
29223699a9
commit
e56e44115d
|
@ -125,7 +125,7 @@ Drupal.file = Drupal.file || {
|
||||||
var $fieldsToTemporarilyDisable = $('div.form-managed-file input.form-file').not($enabledFields).not(':disabled');
|
var $fieldsToTemporarilyDisable = $('div.form-managed-file input.form-file').not($enabledFields).not(':disabled');
|
||||||
$fieldsToTemporarilyDisable.attr('disabled', 'disabled');
|
$fieldsToTemporarilyDisable.attr('disabled', 'disabled');
|
||||||
setTimeout(function (){
|
setTimeout(function (){
|
||||||
$fieldsToTemporarilyDisable.attr('disabled', '');
|
$fieldsToTemporarilyDisable.prop('disabled', false);
|
||||||
}, 1000);
|
}, 1000);
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue