Commit da67ec0f authored by myk%mozilla.org's avatar myk%mozilla.org

Fix for bug 220998: Allows blocks, dependson, and keywords values to be part of…

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
parent 5f458576
......@@ -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
......
......@@ -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 %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment