Commit e56e4411 authored by catch's avatar catch

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

parent 29223699
......@@ -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);
},
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment