From 148d7cc3b3a01465f0933e653c432c7c6e47ae1a Mon Sep 17 00:00:00 2001
From: "dmose%mozilla.org" <>
Date: Wed, 29 Mar 2000 08:34:55 +0000
Subject: adding a 'can confirm' radiobutton to 'reassign by component'
---
bug_form.pl | 3 +++
process_bug.cgi | 3 +++
2 files changed, 6 insertions(+)
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 "
Reassign bug to owner of selected component
\n";
+ if ($status eq $::unconfirmedstate && ($canconfirm || $canedit)) {
+ print " and confirm bug (change status to NEW)
";
+ }
$knum++;
} else {
print " Reopen bug
\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=" .
--
cgit v1.2.3-24-g4f1b