summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
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 /buglist.cgi
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 'buglist.cgi')
-rwxr-xr-xbuglist.cgi9
1 files changed, 6 insertions, 3 deletions
diff --git a/buglist.cgi b/buglist.cgi
index b333d9b6e..eb82b48a8 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -45,6 +45,7 @@ sub sillyness {
$zz = @::legal_severity;
$zz = @::legal_target_milestone;
$zz = @::versions;
+ $zz = @::target_milestone;
};
my $serverpush = 0;
@@ -1232,9 +1233,11 @@ document.write(\" <input type=button value=\\\"Uncheck All\\\" onclick=\\\"SetCh
</TR>";
if (Param("usetargetmilestone")) {
- push(@::legal_target_milestone, " ");
- my $tfm_popup = make_options(\@::legal_target_milestone,
- $::dontchange);
+ my @legal_milestone;
+ if(1 == @prod_list) {
+ @legal_milestone = @{$::target_milestone{$prod_list[0]}};
+ }
+ my $tfm_popup = make_options(\@legal_milestone, $::dontchange);
print "
<TR>
<TD ALIGN=RIGHT><B>Target milestone:</B></TD>