summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2016-04-15 21:27:32 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2016-04-15 21:27:32 +0200
commit06654a4693d7258deb0013ea23f70071b3486c83 (patch)
tree7908d0d1a9f9ac2d27d79bead00ddf5ed73698c7 /Bugzilla
parent90d86a9744883ccc120a0a955ffade72990e1505 (diff)
downloadbugzilla-06654a4693d7258deb0013ea23f70071b3486c83.tar.gz
bugzilla-06654a4693d7258deb0013ea23f70071b3486c83.tar.xz
Bug 1261679 - Add more examples about how to define new parameters using the config_add_panels hook
r=gerv
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Config/Common.pm12
1 files changed, 7 insertions, 5 deletions
diff --git a/Bugzilla/Config/Common.pm b/Bugzilla/Config/Common.pm
index 860977b65..6e89fdcae 100644
--- a/Bugzilla/Config/Common.pm
+++ b/Bugzilla/Config/Common.pm
@@ -401,11 +401,6 @@ sub check_comment_taggers_group {
# &check_multi should always be used as the param verification function
# for list (single and multiple) parameter types.
#
-# o -- A list of values, orderable, and with many selectable (shows up as a
-# JavaScript-enhanced select box if JavaScript is enabled, and a text
-# entry field if not)
-# Set up in the same way as type m.
-#
# s -- A list of values, with one selectable (shows up as a select box)
# To specify the list of values, make the 'choices' key be an array
# reference of the valid choices. The 'default' key should be one of
@@ -424,6 +419,13 @@ sub check_comment_taggers_group {
#
# &check_multi should always be used as the param verification function
# for list (single and multiple) parameter types.
+#
+# o -- A list of values, orderable, and with many selectable (shows up as a
+# JavaScript-enhanced select box if JavaScript is enabled, and a text
+# entry field if not)
+# Set up in the same way as type s. If the default has multiple values,
+# then they must be concatenated, separated by a comma.
+# For instance: default => 'a,c'.
sub get_param_list {
return;