diff options
author | Byron Jones <glob@mozilla.com> | 2016-02-09 07:19:03 +0100 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2016-02-09 07:19:03 +0100 |
commit | 009b23d2ed0213c8fa1bd5a958377b1b4997ff1f (patch) | |
tree | 18c612ff1c19e48ac76d3da30b9a011dbca7cca3 /extensions/BugModal/template/en | |
parent | e3b96a1fbb1e0e1fc3a53c59c455cb90f14c8e72 (diff) | |
download | bugzilla-009b23d2ed0213c8fa1bd5a958377b1b4997ff1f.tar.gz bugzilla-009b23d2ed0213c8fa1bd5a958377b1b4997ff1f.tar.xz |
Bug 1246864 - Unable to comment tickets with "WONTFIX" status without change the status on the experimental UI
Diffstat (limited to 'extensions/BugModal/template/en')
-rw-r--r-- | extensions/BugModal/template/en/default/bug_modal/field.html.tmpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl index 0fe143919..56ea331fb 100644 --- a/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl @@ -66,6 +66,7 @@ END; IF field_type == ""; field_type = -1; END; +field_name = name; IF prefix.defined; name = prefix _ name; END; @@ -178,7 +179,7 @@ END; [% IF values.defined %] [% FOREACH v IN values %] [% NEXT IF NOT v.is_active AND NOT value.contains(v.name).size %] - [% NEXT IF NOT bug.check_can_change_field(name, bug.${name}, v.name) %] + [% NEXT IF NOT bug.check_can_change_field(name, bug.${field_name}, v.name) %] <option value="[% v.name FILTER html %]" id="v[% v.id FILTER html %]_[% name FILTER html %]" [% " selected" IF value.contains(v.name).size %] |