summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-07-08 11:22:14 +0200
committermkanat%bugzilla.org <>2009-07-08 11:22:14 +0200
commitdedf3c1a1c7facb984d7a2a28378dc68a0a1259e (patch)
treee3118259d9d4fc9f25a2cb54a3d511c72ba3ae9f /template/en
parent9417c2fb06f41835ccd17c545e62245832f73c12 (diff)
downloadbugzilla-dedf3c1a1c7facb984d7a2a28378dc68a0a1259e.tar.gz
bugzilla-dedf3c1a1c7facb984d7a2a28378dc68a0a1259e.tar.xz
Bug 502975: cf-js.html.tmpl was missing [% USE Bugzilla %], breaking the visibility-controller field settings.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/admin/custom_fields/cf-js.js.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/template/en/default/admin/custom_fields/cf-js.js.tmpl b/template/en/default/admin/custom_fields/cf-js.js.tmpl
index 89a8529ed..331d809f6 100644
--- a/template/en/default/admin/custom_fields/cf-js.js.tmpl
+++ b/template/en/default/admin/custom_fields/cf-js.js.tmpl
@@ -24,6 +24,7 @@ function toggleCheckbox(this_checkbox, other_checkbox_id) {
}
var select_values = new Array();
+[% USE Bugzilla %]
[% FOREACH sel_field = Bugzilla.get_fields({ is_select => 1 }) %]
select_values[[% sel_field.id FILTER js %]] = [
[% FOREACH legal_value = sel_field.legal_values %]