diff options
author | Byron Jones <glob@mozilla.com> | 2015-04-22 06:14:04 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-04-22 06:14:04 +0200 |
commit | 707a97b82926abdfd8b95fa1172447a1820e8e6f (patch) | |
tree | 6404a56417ef737675c282ff3a90eb215bf6a18a /extensions/BugModal/template | |
parent | f277dc302fd087666bf8a978967697eff7b36883 (diff) | |
download | bugzilla-707a97b82926abdfd8b95fa1172447a1820e8e6f.tar.gz bugzilla-707a97b82926abdfd8b95fa1172447a1820e8e6f.tar.xz |
Bug 1157095: bug-modal should treat "unspecific" platform values as unset
Diffstat (limited to 'extensions/BugModal/template')
-rw-r--r-- | extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl index 3f6330423..f9c93efd1 100644 --- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl @@ -609,7 +609,8 @@ [% WRAPPER bug_modal/field.html.tmpl container = 1 label = "Platform" - hide_on_view = bug.rep_platform == 'All' && bug.op_sys == 'All' + hide_on_view = (bug.rep_platform == 'All' && bug.op_sys == 'All') + || (bug.rep_platform == 'Unspecified' && bug.op_sys == 'Unspecified') %] [% INCLUDE bug_modal/field.html.tmpl field = bug_fields.rep_platform |