summaryrefslogtreecommitdiffstats
path: root/bug_form.pl
diff options
context:
space:
mode:
authorterry%mozilla.org <>2000-03-22 01:47:04 +0100
committerterry%mozilla.org <>2000-03-22 01:47:04 +0100
commit6b2eec91f21d4aa28e68f18435c8636f377a4b2a (patch)
tree855b795f02d39a7d676949572d872d15bf1e7901 /bug_form.pl
parentc7ae4f650a612ccf62f68c9894f5a6cd62f464b0 (diff)
downloadbugzilla-6b2eec91f21d4aa28e68f18435c8636f377a4b2a.tar.gz
bugzilla-6b2eec91f21d4aa28e68f18435c8636f377a4b2a.tar.xz
Patch by "Matt Masson" <matthew@zeroknowledge.com> -- allow definition
of different target milestones by product.
Diffstat (limited to 'bug_form.pl')
-rw-r--r--bug_form.pl8
1 files changed, 3 insertions, 5 deletions
diff --git a/bug_form.pl b/bug_form.pl
index e74f4f4d8..4453d7ff1 100644
--- a/bug_form.pl
+++ b/bug_form.pl
@@ -38,6 +38,7 @@ sub bug_form_pl_sillyness {
$zz = @::legal_priority;
$zz = @::legal_resolution_no_dup;
$zz = @::legal_severity;
+ $zz = %::target_milestone;
}
my $loginok = quietly_check_login();
@@ -207,14 +208,11 @@ if (Param("usetargetmilestone")) {
if ($url eq "") {
$url = "notargetmilestone.html";
}
- if ($bug{'target_milestone'} eq "") {
- $bug{'target_milestone'} = " ";
- }
- push(@::legal_target_milestone, " ");
+
print "
<TD ALIGN=RIGHT><A href=\"$url\"><B>Target Milestone:</B></A></TD>
<TD><SELECT NAME=target_milestone>" .
- make_options(\@::legal_target_milestone,
+ make_options($::target_milestone{$bug{'product'}},
$bug{'target_milestone'}) .
"</SELECT></TD>";
}