summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--template/en/default/bug/create/create.html.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl
index b11b0ff18..3d6d3e314 100644
--- a/template/en/default/bug/create/create.html.tmpl
+++ b/template/en/default/bug/create/create.html.tmpl
@@ -131,7 +131,8 @@ function set_assign_to() {
// Now enable flags available for the selected component.
for (var i = 0; i < flags[index].length; i++) {
flagField = document.getElementById("flag_type-" + flags[index][i]);
- if (flagField) {
+ // Do not enable flags the user cannot set nor request.
+ if (flagField && flagField.options.length > 1) {
flagField.disabled = false;
// Re-enabling the requestee field depends on the status
// of the flag.