summaryrefslogtreecommitdiff
path: root/modules/field_ui
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2012-06-23 16:00:07 -0400
committerDavid Rothstein <drothstein@gmail.com>2012-06-23 16:00:07 -0400
commit74de0926df8dd0ab13475ddae0862ac7e6bd0149 (patch)
tree2ae3ef1a8239ff392d2bdc3e7b68650016967655 /modules/field_ui
parente2bab36cd4bcf5e99a7eb84e5674c9b0e49fc32c (diff)
downloadbrdo-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.js2
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);
});
};