diff options
author | David Rothstein <drothstein@gmail.com> | 2012-06-23 16:00:07 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2012-06-23 16:00:07 -0400 |
commit | 74de0926df8dd0ab13475ddae0862ac7e6bd0149 (patch) | |
tree | 2ae3ef1a8239ff392d2bdc3e7b68650016967655 /modules/field_ui | |
parent | e2bab36cd4bcf5e99a7eb84e5674c9b0e49fc32c (diff) | |
download | brdo-74de0926df8dd0ab13475ddae0862ac7e6bd0149.tar.gz brdo-74de0926df8dd0ab13475ddae0862ac7e6bd0149.tar.bz2 |
Issue #1480568 by gagarine, henwan: Fixed use $.attr with false instead of empty string.
Diffstat (limited to 'modules/field_ui')
-rw-r--r-- | modules/field_ui/field_ui.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/field_ui/field_ui.js b/modules/field_ui/field_ui.js index 1017937b6..65b28d049 100644 --- a/modules/field_ui/field_ui.js +++ b/modules/field_ui/field_ui.js @@ -97,7 +97,7 @@ jQuery.fn.fieldUIPopulateOptions = function (options, selected) { html += '<option value="' + value + '"' + (is_selected ? ' selected="selected"' : '') + '>' + text + '</option>'; }); - $(this).html(html).attr('disabled', disabled ? 'disabled' : ''); + $(this).html(html).attr('disabled', disabled ? 'disabled' : false); }); }; |