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:
travis%sedsystems.ca 2005-02-25 15:40:20 +00:00
parent bcb8afcbc5
commit ccba505250
2 changed files with 4 additions and 0 deletions

View File

@ -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());

View File

@ -36,6 +36,7 @@
<tr>
<th align="right" valign="center" height=50>
<a href="[% target FILTER url_quote %]?classification=__all
[% IF cloned_bug_id %]&amp;cloned_bug_id=[% cloned_bug_id FILTER url_quote %][% END %]
[% IF format %]&amp;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 %]&amp;cloned_bug_id=[% cloned_bug_id FILTER url_quote %][% END %]
[% IF format %]&amp;format=[% format FILTER url_quote %][% END %]">
[% p FILTER html %]</a>:
</th>