From: mkanat%bugzilla.org <> Date: Wed, 8 Jul 2009 09:22:39 +0000 (+0000) Subject: Bug 502975: cf-js.html.tmpl was missing [% USE Bugzilla %], breaking the visibility... X-Git-Tag: bugzilla-3.4rc1~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f52c049bd02187fefeec23fb86715e9d71d5bab;p=thirdparty%2Fbugzilla.git 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 --- 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 89a8529ed6..331d809f6d 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 %]