From: myk%mozilla.org <> Date: Wed, 4 Feb 2004 04:05:04 +0000 (+0000) Subject: Fix for bug 220998: Allows blocks, dependson, and keywords values to be part of a... X-Git-Tag: bugzilla-2.17.7~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da67ec0f7409109b85427b8f0579dc9f5fc72ec9;p=thirdparty%2Fbugzilla.git Fix for bug 220998: Allows blocks, dependson, and keywords values to be part of a bug entry template (i.e. a URL that presets those fields to specific values). Original patch by Ludovic Dubost. r=kiko --- diff --git a/enter_bug.cgi b/enter_bug.cgi index 1dd8aa96cb..eedd1da7f4 100755 --- a/enter_bug.cgi +++ b/enter_bug.cgi @@ -286,6 +286,10 @@ $default{'rep_platform'} = pickplatform(); $vars->{'op_sys'} = \@legal_opsys; $default{'op_sys'} = pickos(); +$vars->{'keywords'} = formvalue('keywords'); +$vars->{'dependson'} = formvalue('dependson'); +$vars->{'blocked'} = formvalue('blocked'); + # Use the version specified in the URL, if one is supplied. If not, # then use the cookie-specified value. (Posting a bug sets a cookie # for the current version.) If no URL or cookie version, the default diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index f654779fc7..1a6f9de118 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -242,7 +242,7 @@ function set_assign_to() { - (optional) + (optional) [% END %] @@ -251,7 +251,7 @@ function set_assign_to() { Depends on: - + @@ -259,7 +259,7 @@ function set_assign_to() { Blocks: - + [% END %]