summaryrefslogtreecommitdiffstats
path: root/template/en/default/config.js.tmpl
diff options
context:
space:
mode:
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 %]
];