aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-07-08 09:22:39 +0000
committermkanat%bugzilla.org <>2009-07-08 09:22:39 +0000
commit6f52c049bd02187fefeec23fb86715e9d71d5bab (patch)
tree2d4989955bc91173f9993a91b205d6693c43d97c
parentBug 502950: Unconfirming a bug doesn't reset everconfirmed to 0 - Patch by Fr... (diff)
downloadbugzilla-6f52c049bd02187fefeec23fb86715e9d71d5bab.tar.gz
bugzilla-6f52c049bd02187fefeec23fb86715e9d71d5bab.tar.bz2
bugzilla-6f52c049bd02187fefeec23fb86715e9d71d5bab.zip
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
-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 %]