Fix for bug #53612: The milestone URL appears correctly when deleting a product or a component.
Patch by Jake <jake@acutex.net>. r=gerv@mozilla.org,myk@mozilla.org
This commit is contained in:
Родитель
99abb37f76
Коммит
6253da57b9
|
@ -487,9 +487,9 @@ if ($action eq 'del') {
|
||||||
|
|
||||||
my $initialowner = $initialownerid ? DBID_to_name ($initialownerid) : "<FONT COLOR=\"red\">missing</FONT>";
|
my $initialowner = $initialownerid ? DBID_to_name ($initialownerid) : "<FONT COLOR=\"red\">missing</FONT>";
|
||||||
my $initialqacontact = $initialqacontactid ? DBID_to_name ($initialqacontactid) : "<FONT COLOR=\"red\">missing</FONT>";
|
my $initialqacontact = $initialqacontactid ? DBID_to_name ($initialqacontactid) : "<FONT COLOR=\"red\">missing</FONT>";
|
||||||
|
my $milestonelink = $milestoneurl ? "<A HREF=\"$milestoneurl\">$milestoneurl</A>"
|
||||||
|
: "<FONT COLOR=\"red\">missing</FONT>";
|
||||||
$pdesc ||= "<FONT COLOR=\"red\">missing</FONT>";
|
$pdesc ||= "<FONT COLOR=\"red\">missing</FONT>";
|
||||||
$milestoneurl ||= "<FONT COLOR=\"red\">missing</FONT>";
|
|
||||||
$disallownew = $disallownew ? 'closed' : 'open';
|
$disallownew = $disallownew ? 'closed' : 'open';
|
||||||
$cdesc ||= "<FONT COLOR=\"red\">missing</FONT>";
|
$cdesc ||= "<FONT COLOR=\"red\">missing</FONT>";
|
||||||
|
|
||||||
|
@ -530,7 +530,7 @@ if ($action eq 'del') {
|
||||||
if (Param('usetargetmilestone')) {
|
if (Param('usetargetmilestone')) {
|
||||||
print "</TR><TR>\n";
|
print "</TR><TR>\n";
|
||||||
print " <TD VALIGN=\"top\">Milestone URL:</TD>\n";
|
print " <TD VALIGN=\"top\">Milestone URL:</TD>\n";
|
||||||
print " <TD VALIGN=\"top\"><A HREF=\"$milestoneurl\">$milestoneurl</A></TD>\n";
|
print " <TD VALIGN=\"top\">$milestonelink</TD>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
print "</TR><TR>\n";
|
print "</TR><TR>\n";
|
||||||
|
|
|
@ -418,6 +418,8 @@ if ($action eq 'del') {
|
||||||
FROM products
|
FROM products
|
||||||
WHERE product=" . SqlQuote($product));
|
WHERE product=" . SqlQuote($product));
|
||||||
my ($description, $milestoneurl, $disallownew) = FetchSQLData();
|
my ($description, $milestoneurl, $disallownew) = FetchSQLData();
|
||||||
|
my $milestonelink = $milestoneurl ? "<a href=\"$milestoneurl\">$milestoneurl</a>"
|
||||||
|
: "<font color=\"red\">missing</font>";
|
||||||
$description ||= "<FONT COLOR=\"red\">description missing</FONT>";
|
$description ||= "<FONT COLOR=\"red\">description missing</FONT>";
|
||||||
$disallownew = $disallownew ? 'closed' : 'open';
|
$disallownew = $disallownew ? 'closed' : 'open';
|
||||||
|
|
||||||
|
@ -437,7 +439,7 @@ if ($action eq 'del') {
|
||||||
if (Param('usetargetmilestone')) {
|
if (Param('usetargetmilestone')) {
|
||||||
print "</TR><TR>\n";
|
print "</TR><TR>\n";
|
||||||
print " <TD VALIGN=\"top\">Milestone URL:</TD>\n";
|
print " <TD VALIGN=\"top\">Milestone URL:</TD>\n";
|
||||||
print " <TD VALIGN=\"top\"><A HREF=\"$milestoneurl\">$milestoneurl</A></TD>\n";
|
print " <TD VALIGN=\"top\">$milestonelink</TD>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
# Added -JMR, 2/16/00
|
# Added -JMR, 2/16/00
|
||||||
|
|
Загрузка…
Ссылка в новой задаче