diff options
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 9 |
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> |