diff options
author | mkanat%bugzilla.org <> | 2008-10-25 04:14:56 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2008-10-25 04:14:56 +0000 |
commit | a9822ceefb563a54420f13b2395b8c1359833778 (patch) | |
tree | b860dd7ab0cf156734d8eddd5d680bab587f4185 /template/en/default/admin/custom_fields/create.html.tmpl | |
parent | 5323ab05caef4b7a5c44fb567b412a3917272f33 (diff) | |
download | bugs-a9822ceefb563a54420f13b2395b8c1359833778.tar bugs-a9822ceefb563a54420f13b2395b8c1359833778.tar.gz bugs-a9822ceefb563a54420f13b2395b8c1359833778.tar.bz2 bugs-a9822ceefb563a54420f13b2395b8c1359833778.tar.xz bugs-a9822ceefb563a54420f13b2395b8c1359833778.zip |
Bug 458436: Allow standard global select fields to control visibility of custom fields
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=bbaetz, a=mkanat
Diffstat (limited to 'template/en/default/admin/custom_fields/create.html.tmpl')
-rw-r--r-- | template/en/default/admin/custom_fields/create.html.tmpl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/template/en/default/admin/custom_fields/create.html.tmpl b/template/en/default/admin/custom_fields/create.html.tmpl index da10c7bcb..17bd5bfdc 100644 --- a/template/en/default/admin/custom_fields/create.html.tmpl +++ b/template/en/default/admin/custom_fields/create.html.tmpl @@ -99,8 +99,7 @@ <select name="visibility_field_id" id="visibility_field_id" onchange="onChangeVisibilityField()"> <option></option> - [% FOREACH sel_field = Bugzilla.active_custom_fields %] - [% NEXT IF !sel_field.is_select %] + [% FOREACH sel_field = Bugzilla.get_fields({ is_select => 1 }) %] <option value="[% sel_field.id FILTER html %]"> [% sel_field.description FILTER html %] ([% sel_field.name FILTER html %]) |