From d77f1e218bf50ed5d225d97df01f5e377370a21f Mon Sep 17 00:00:00 2001 From: "dmose%mozilla.org" Date: Wed, 29 Mar 2000 00:34:56 +0000 Subject: [PATCH] adding a 'can confirm' radiobutton to 'reassign by component' git-svn-id: svn://10.0.0.236/trunk@64408 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/bug_form.pl | 3 +++ mozilla/webtools/bugzilla/process_bug.cgi | 3 +++ 2 files changed, 6 insertions(+) diff --git a/mozilla/webtools/bugzilla/bug_form.pl b/mozilla/webtools/bugzilla/bug_form.pl index 9b459d66cbf..1402a1a470e 100644 --- a/mozilla/webtools/bugzilla/bug_form.pl +++ b/mozilla/webtools/bugzilla/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/mozilla/webtools/bugzilla/process_bug.cgi b/mozilla/webtools/bugzilla/process_bug.cgi index 913ff8f18d3..22dff72e914 100755 --- a/mozilla/webtools/bugzilla/process_bug.cgi +++ b/mozilla/webtools/bugzilla/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=" .