Issue #1480568 by gagarine, henwan: Fixed use $.attr with false instead of empty string.

8.0.x
catch 2012-06-08 16:05:46 +09:00
parent 29223699a9
commit e56e44115d
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ Drupal.file = Drupal.file || {
var $fieldsToTemporarilyDisable = $('div.form-managed-file input.form-file').not($enabledFields).not(':disabled');
$fieldsToTemporarilyDisable.attr('disabled', 'disabled');
setTimeout(function (){
$fieldsToTemporarilyDisable.attr('disabled', '');
$fieldsToTemporarilyDisable.prop('disabled', false);
}, 1000);
},
/**