summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/custom_fields/cf-js.js.tmpl
diff options
context:
space:
mode:
authorTiago Mello <timello@gmail.com>2010-08-24 22:25:49 +0200
committerTiago Mello <timello@gmail.com>2010-08-24 22:25:49 +0200
commit85e75aba6a7131da9d63b1f628a27e986bb428c5 (patch)
tree62ea9dab6305ba21a67b1904523435365b53aae5 /template/en/default/admin/custom_fields/cf-js.js.tmpl
parente09c48b2f7668071264c975f9191cf41b493ef1c (diff)
downloadbugzilla-85e75aba6a7131da9d63b1f628a27e986bb428c5.tar.gz
bugzilla-85e75aba6a7131da9d63b1f628a27e986bb428c5.tar.xz
Bug 586871: Convert all Bugzilla->get_fields calls to Bugzilla->fields
r/a=mkanat
Diffstat (limited to 'template/en/default/admin/custom_fields/cf-js.js.tmpl')
-rw-r--r--template/en/default/admin/custom_fields/cf-js.js.tmpl2
1 files changed, 1 insertions, 1 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 528b88b2d..f9c31b5c7 100644
--- a/template/en/default/admin/custom_fields/cf-js.js.tmpl
+++ b/template/en/default/admin/custom_fields/cf-js.js.tmpl
@@ -25,7 +25,7 @@ function toggleCheckbox(this_checkbox, other_checkbox_id) {
var select_values = new Array();
[% USE Bugzilla %]
-[% FOREACH sel_field = Bugzilla.get_fields({ is_select => 1 }) %]
+[% FOREACH sel_field = Bugzilla.fields({ is_select => 1 }) %]
select_values[[% sel_field.id FILTER js %]] = [
[% FOREACH legal_value = sel_field.legal_values %]
[%# Prefix components with the name of their product so that admins