aboutsummaryrefslogtreecommitdiffstats
path: root/template/en/default/config.js.tmpl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-10-06 03:54:41 +0000
committerlpsolit%gmail.com <>2007-10-06 03:54:41 +0000
commit9ecc858489649755b2d4e90c54a59f038551c418 (patch)
treeee9900240be7b6b1120f729046e044718033e428 /template/en/default/config.js.tmpl
parentb43eb27e0c2d1f3a5d486ab3d65c2102966600ed (diff)
downloadbugs-9ecc858489649755b2d4e90c54a59f038551c418.tar
bugs-9ecc858489649755b2d4e90c54a59f038551c418.tar.gz
bugs-9ecc858489649755b2d4e90c54a59f038551c418.tar.bz2
bugs-9ecc858489649755b2d4e90c54a59f038551c418.tar.xz
bugs-9ecc858489649755b2d4e90c54a59f038551c418.zip
Bug 374981: Custom field single select options not available in config.cgi rdf - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
Diffstat (limited to 'template/en/default/config.js.tmpl')
-rw-r--r--template/en/default/config.js.tmpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/template/en/default/config.js.tmpl b/template/en/default/config.js.tmpl
index e55e0d910..628a918d0 100644
--- a/template/en/default/config.js.tmpl
+++ b/template/en/default/config.js.tmpl
@@ -57,6 +57,14 @@ var platform = [ [% FOREACH x = platform %]'[% x FILTER js %]', [% END %] ]
var severity = [ [% FOREACH x = severity %]'[% x FILTER js %]', [% END %] ];
+// Custom Fields
+// =============
+
+[% FOREACH cf = custom_fields %]
+var [% cf.name FILTER js %] = [ [% FOREACH x = cf.legal_values %]'[% x FILTER js %]', [% END %] ];
+[% END %]
+
+
// Products and Components
// =======================
//