зеркало из https://github.com/mozilla/gecko-dev.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
This commit is contained in:
Родитель
982d438cde
Коммит
b43e68c878
|
@ -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 %]
|
||||
|
|
Загрузка…
Ссылка в новой задаче