adding a 'can confirm' radiobutton to 'reassign by component'

git-svn-id: svn://10.0.0.236/trunk@64408 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dmose%mozilla.org
2000-03-29 00:34:56 +00:00
parent 66be28aee8
commit d77f1e218b
2 changed files with 6 additions and 0 deletions

View File

@@ -440,6 +440,9 @@ if ($canedit || $::userid == $assignedtoid ||
$knum++;
print "<INPUT TYPE=radio NAME=knob VALUE=reassignbycomponent>
Reassign bug to owner of selected component<br>\n";
if ($status eq $::unconfirmedstate && ($canconfirm || $canedit)) {
print "&nbsp;&nbsp;&nbsp;&nbsp;<INPUT TYPE=checkbox NAME=compconfirm> and confirm bug (change status to <b>NEW</b>)<BR>";
}
$knum++;
} else {
print "<INPUT TYPE=radio NAME=knob VALUE=reopen> Reopen bug<br>\n";

View File

@@ -443,6 +443,9 @@ SWITCH: for ($::FORM{'knob'}) {
PuntTryAgain("You must specify a component whose owner should " .
"get assigned these bugs.");
}
if ($::FORM{'compconfirm'}) {
DoConfirm();
}
ChangeStatus('NEW');
SendSQL("select initialowner from components where program=" .
SqlQuote($::FORM{'product'}) . " and value=" .