Commit 148d7cc3 authored by dmose%mozilla.org's avatar dmose%mozilla.org

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

parent fb70f631
......@@ -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";
......
......@@ -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=" .
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment