]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 502975: cf-js.html.tmpl was missing [% USE Bugzilla %], breaking the visibility...
authormkanat%bugzilla.org <>
Wed, 8 Jul 2009 09:22:39 +0000 (09:22 +0000)
committermkanat%bugzilla.org <>
Wed, 8 Jul 2009 09:22:39 +0000 (09:22 +0000)
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit

template/en/default/admin/custom_fields/cf-js.js.tmpl

index 89a8529ed66fe861429677f5e62ed43000646394..331d809f6d056f1a27e206f86e5bc6bf4b8b77fd 100644 (file)
@@ -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 %]