summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordmose%mozilla.org <>2000-03-29 10:34:55 +0200
committerdmose%mozilla.org <>2000-03-29 10:34:55 +0200
commit148d7cc3b3a01465f0933e653c432c7c6e47ae1a (patch)
tree8c42d0225007ae447d8dc794eae9474c96dcde79
parentfb70f63129171c05b80d71d87524c2494e0bf04c (diff)
downloadbugzilla-148d7cc3b3a01465f0933e653c432c7c6e47ae1a.tar.gz
bugzilla-148d7cc3b3a01465f0933e653c432c7c6e47ae1a.tar.xz
adding a 'can confirm' radiobutton to 'reassign by component'
-rw-r--r--bug_form.pl3
-rwxr-xr-xprocess_bug.cgi3
2 files changed, 6 insertions, 0 deletions
diff --git a/bug_form.pl b/bug_form.pl
index 9b459d66c..1402a1a47 100644
--- a/bug_form.pl
+++ b/bug_form.pl
@@ -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";
diff --git a/process_bug.cgi b/process_bug.cgi
index 913ff8f18..22dff72e9 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -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=" .