From 06654a4693d7258deb0013ea23f70071b3486c83 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Fri, 15 Apr 2016 21:27:32 +0200 Subject: Bug 1261679 - Add more examples about how to define new parameters using the config_add_panels hook r=gerv --- Bugzilla/Config/Common.pm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'Bugzilla') 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; -- cgit v1.2.3-24-g4f1b