summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xenter_bug.cgi4
-rw-r--r--template/en/default/bug/create/create.html.tmpl6
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() {
</strong>
</td>
<td colspan="3">
- <input name="keywords" size="60" value=""> (optional)
+ <input name="keywords" size="60" value="[% keywords FILTER html %]"> (optional)
</td>
</tr>
[% END %]
@@ -251,7 +251,7 @@ function set_assign_to() {
<strong>Depends on:</strong>
</td>
<td>
- <input name="dependson" accesskey="d">
+ <input name="dependson" accesskey="d" value="[% dependson FILTER html %]">
</td>
</tr>
<tr>
@@ -259,7 +259,7 @@ function set_assign_to() {
<strong>Blocks:</strong>
</td>
<td>
- <input name="blocked" accesskey="b">
+ <input name="blocked" accesskey="b" value="[% blocked FILTER html %]">
</td>
</tr>
[% END %]