зеркало из https://github.com/mozilla/pjs.git
Bug 282983 : bug cloning doesn't work if classifications are enabled
Patch by Shane H. W. Travis <travis@sedsystems.ca> r=glob a=myk
This commit is contained in:
Родитель
079fdb0756
Коммит
3fbc2a514a
|
@ -98,6 +98,8 @@ if (!defined $product) {
|
|||
$vars->{'target'} = "enter_bug.cgi";
|
||||
$vars->{'format'} = $::FORM{'format'};
|
||||
|
||||
$vars->{'cloned_bug_id'} = $cgi->param('cloned_bug_id');
|
||||
|
||||
print "Content-type: text/html\n\n";
|
||||
$template->process("global/choose-classification.html.tmpl", $vars)
|
||||
|| ThrowTemplateError($template->error());
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
<tr>
|
||||
<th align="right" valign="center" height=50>
|
||||
<a href="[% target FILTER url_quote %]?classification=__all
|
||||
[% IF cloned_bug_id %]&cloned_bug_id=[% cloned_bug_id FILTER url_quote %][% END %]
|
||||
[% IF format %]&format=[% format FILTER url_quote %][% END %]">
|
||||
All</a>:
|
||||
</th>
|
||||
|
@ -49,6 +50,7 @@
|
|||
<tr>
|
||||
<th align="right" valign="top">
|
||||
<a href="[% target FILTER url_quote %]?classification=[% p FILTER url_quote %]
|
||||
[% IF cloned_bug_id %]&cloned_bug_id=[% cloned_bug_id FILTER url_quote %][% END %]
|
||||
[% IF format %]&format=[% format FILTER url_quote %][% END %]">
|
||||
[% p FILTER html %]</a>:
|
||||
</th>
|
||||
|
|
Загрузка…
Ссылка в новой задаче