diff options
author | reed%reedloden.com <> | 2008-05-16 00:37:40 +0200 |
---|---|---|
committer | reed%reedloden.com <> | 2008-05-16 00:37:40 +0200 |
commit | 2ee97093788e64e307f738ba439ea4b52d7bc15f (patch) | |
tree | 0160f3b20f6a0cba6015b85e85801ad0bdbefe8f | |
parent | 8439883bee6bd904e8706e640f0accf09c1ac455 (diff) | |
download | bugzilla-2ee97093788e64e307f738ba439ea4b52d7bc15f.tar.gz bugzilla-2ee97093788e64e307f738ba439ea4b52d7bc15f.tar.xz |
Bug 433851 - "Flag <select> not disabled even though user can't request or change flag" [p=reed/LpSolit r+a=LpSolit]
-rw-r--r-- | template/en/default/flag/list.html.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl index 462e4063c..8aef809e0 100644 --- a/template/en/default/flag/list.html.tmpl +++ b/template/en/default/flag/list.html.tmpl @@ -181,7 +181,7 @@ <td> <select id="flag_type-[% type.id %]" name="flag_type-[% type.id %]" title="[% type.description FILTER html %]" - [% " disabled=\"disabled\"" UNLESS user.can_request_flag(type) %] + [% " disabled=\"disabled\"" UNLESS (type.is_requestable && user.can_request_flag(type)) || user.can_set_flag(type) %] onchange="toggleRequesteeField(this);" class="flag_select"> <option value="X"></option> @@ -235,7 +235,7 @@ <td> <select id="flag_type-[% type.id %]" name="flag_type-[% type.id %]" title="[% type.description FILTER html %]" - [% " disabled=\"disabled\"" UNLESS user.can_request_flag(type) %] + [% " disabled=\"disabled\"" UNLESS (type.is_requestable && user.can_request_flag(type)) || user.can_set_flag(type) %] onchange="toggleRequesteeField(this);" class="flag_select"> <option value="X"></option> |