Legal Keywords in 2.17.3
Myk Melez
myk at mozilla.org
Wed Apr 2 21:52:06 UTC 2003
Jon Wilmoth wrote:
>I'd like to customize the keywords text field to be a select element.
>Previously (2.16.x) I was able to modify bug_form.pl to add this list.
>However, that is now gone in 2.17.3. Where is the best place to
>initialize a template variable that is an array of all the available
>keywords (Assuming one doesn't already exist)?
>
>
See the rotted code in bug 80169
(http://bugzilla.mozilla.org/show_bug.cgi?id=80169) for another
pre-templatization implementation of this feature.
I would add the code to show_bug.cgi after the GetVersionTable call and
just set $vars->{keywords} to @::legal_keywords or %::keywordsbyname.
-myk
More information about the developers
mailing list