From 6f52c049bd02187fefeec23fb86715e9d71d5bab Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Wed, 8 Jul 2009 09:22:39 +0000 Subject: Bug 502975: cf-js.html.tmpl was missing [% USE Bugzilla %], breaking the visibility-controller field settings. Patch by Max Kanat-Alexander r=LpSolit, a=LpSolit --- template/en/default/admin/custom_fields/cf-js.js.tmpl | 1 + 1 file changed, 1 insertion(+) 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 %] -- cgit v1.2.3-65-gdbad