From: dmose%mozilla.org <>
Date: Wed, 29 Mar 2000 08:34:55 +0000 (+0000)
Subject: adding a 'can confirm' radiobutton to 'reassign by component'
X-Git-Tag: bugzilla-2.12~323
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=148d7cc3b3a01465f0933e653c432c7c6e47ae1a;p=thirdparty%2Fbugzilla.git
adding a 'can confirm' radiobutton to 'reassign by component'
---
diff --git a/bug_form.pl b/bug_form.pl
index 9b459d66cb..1402a1a470 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 913ff8f18d..22dff72e91 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=" .