From da67ec0f7409109b85427b8f0579dc9f5fc72ec9 Mon Sep 17 00:00:00 2001 From: "myk%mozilla.org" <> Date: Wed, 4 Feb 2004 04:05:04 +0000 Subject: 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 --- enter_bug.cgi | 4 ++++ template/en/default/bug/create/create.html.tmpl | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/enter_bug.cgi b/enter_bug.cgi index 1dd8aa96c..eedd1da7f 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 f654779fc..1a6f9de11 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 %] -- cgit v1.2.3-24-g4f1b