summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2016-04-12 15:22:20 +0200
committerDavid Lawrence <dkl@mozilla.com>2016-04-12 15:22:20 +0200
commitcc0c32bcb0e9f1b6c0b0157f8480d69047740f1e (patch)
tree57bab9e5180fdf0d6b6713619405cb22658a6ac5 /extensions/BugModal
parentea817b4c14de659617a9424dfbe7fb2591ce5349 (diff)
downloadbugzilla-cc0c32bcb0e9f1b6c0b0157f8480d69047740f1e.tar.gz
bugzilla-cc0c32bcb0e9f1b6c0b0157f8480d69047740f1e.tar.xz
Bug 1263520 - Cannot set r+ back to r? directly
Diffstat (limited to 'extensions/BugModal')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl
index d4c2d50b3..53b5c08ca 100644
--- a/extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl
@@ -137,7 +137,7 @@
<option value="X"></option>
[% END %]
[% IF t.is_active %]
- [% IF (!f && t.is_requestable && user.can_request_flag(t)) || (f && user.can_unset_flag(t, f.status) && f.status == "?") %]
+ [% IF (!f && t.is_requestable && user.can_request_flag(t)) || (f && (user.can_unset_flag(t, f.status) || f.status == "?")) %]
<option value="?" [% "selected" IF f && f.status == "?" %]>?</option>
[% END %]
[% IF user.can_set_flag(t) || (f && f.status == "+") %]