From 78fbce5bf3e5faed12b8360bc8e21b8a293d5371 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 1 May 2013 16:15:09 +0800 Subject: Bug 867520: guided bug entry doesn't honour the default bug format --- .../template/en/default/pages/guided_products.js.tmpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'extensions/GuidedBugEntry/template/en/default/pages') 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 %]'; -- cgit v1.2.3-24-g4f1b