From e56e44115d5268db639711cc43708c112cd3decb Mon Sep 17 00:00:00 2001 From: catch Date: Fri, 8 Jun 2012 16:05:46 +0900 Subject: [PATCH] Issue #1480568 by gagarine, henwan: Fixed use $.attr with false instead of empty string. --- core/modules/file/file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/file/file.js b/core/modules/file/file.js index cec3fe8ccba..28237ea1fea 100644 --- a/core/modules/file/file.js +++ b/core/modules/file/file.js @@ -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); }, /**