summaryrefslogtreecommitdiffstats
path: root/template/en/default/config.js.tmpl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-04-20 16:49:44 +0200
committerlpsolit%gmail.com <>2008-04-20 16:49:44 +0200
commitaea95887f82a6066ebadb99068d94ef05087909b (patch)
tree6434d160002a9d337937761e25bd5f84049b24b3 /template/en/default/config.js.tmpl
parent6851239b32ae7dff2252e8b0928bd1bfd7142c08 (diff)
downloadbugzilla-aea95887f82a6066ebadb99068d94ef05087909b.tar.gz
bugzilla-aea95887f82a6066ebadb99068d94ef05087909b.tar.xz
Bug 429847: config.cgi should include additional information about custom fields - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'template/en/default/config.js.tmpl')
-rw-r--r--template/en/default/config.js.tmpl9
1 files changed, 8 insertions, 1 deletions
diff --git a/template/en/default/config.js.tmpl b/template/en/default/config.js.tmpl
index 628a918d0..66617007d 100644
--- a/template/en/default/config.js.tmpl
+++ b/template/en/default/config.js.tmpl
@@ -113,7 +113,14 @@ var component_exceptions = new Array(
var field = [
[% FOREACH x = field %]
{ name: '[% x.name FILTER js %]',
- description: '[% (field_descs.${x.name} OR x.description) FILTER js %]' },
+ description: '[% (field_descs.${x.name} OR x.description) FILTER js %]',
+ [%-# These values are meaningful for custom fields only. %]
+ [% IF x.custom %]
+ type: '[% x.type FILTER js %]',
+ type_desc: '[% field_types.${x.type} FILTER js %]',
+ enter_bug: '[% x.enter_bug FILTER js %]',
+ [% END %]
+ },
[% END %]
];