summaryrefslogtreecommitdiffstats
path: root/extensions/GuidedBugEntry/template/en
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-05-01 10:15:09 +0200
committerByron Jones <bjones@mozilla.com>2013-05-01 10:15:09 +0200
commit78fbce5bf3e5faed12b8360bc8e21b8a293d5371 (patch)
tree6a90eaf6a152f35c29b2cae90446054733efe5cd /extensions/GuidedBugEntry/template/en
parentb2f7765446bb382ff0716785832c4135f695b498 (diff)
downloadbugzilla-78fbce5bf3e5faed12b8360bc8e21b8a293d5371.tar.gz
bugzilla-78fbce5bf3e5faed12b8360bc8e21b8a293d5371.tar.xz
Bug 867520: guided bug entry doesn't honour the default bug format
Diffstat (limited to 'extensions/GuidedBugEntry/template/en')
-rw-r--r--extensions/GuidedBugEntry/template/en/default/pages/guided_products.js.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/GuidedBugEntry/template/en/default/pages/guided_products.js.tmpl b/extensions/GuidedBugEntry/template/en/default/pages/guided_products.js.tmpl
index 268fe06f8..b58df8298 100644
--- a/extensions/GuidedBugEntry/template/en/default/pages/guided_products.js.tmpl
+++ b/extensions/GuidedBugEntry/template/en/default/pages/guided_products.js.tmpl
@@ -8,16 +8,16 @@
[%# this file allows us to pull in data defined in the BMO ext %]
-[% IF formats %]
- [% FOREACH product = formats %]
+[% IF create_bug_formats %]
+ [% FOREACH product = create_bug_formats %]
if (!products['[% product.key FILTER js %]']) [% ~%]
products['[% product.key FILTER js %]'] = {};
products['[% product.key FILTER js %]'].format = '[% product.value FILTER js %]';
[% END %]
[% END %]
-[% IF products %]
- [% FOREACH product = products %]
+[% IF product_sec_groups %]
+ [% FOREACH product = product_sec_groups %]
if (!products['[% product.key FILTER js %]']) [% ~%]
products['[% product.key FILTER js %]'] = {};
products['[% product.key FILTER js %]'].secgroup = '[% product.value FILTER js %]';