In testresults pages, fix the "select" used to select

the CGAL version to display.
One can now select the last one.
This commit is contained in:
Laurent Rineau 2008-06-24 11:03:34 +00:00
parent 38fbd5e5ad
commit a63fa00687
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ sub write_select()
print OUTPUTV "<table><tr><td>You can browse the test results of a different version :\n";
print OUTPUTV '<td><select id="sel" onchange="sel=document.getElementById(\'sel\'); top.location.href=sel.options[sel.selectedIndex].value">'."\n";
print OUTPUTV '<option value="">', "</option>\n";
foreach $_ (sort { $a =~ /results-([^I]*)(|-I-(.*))\.shtml/;
my ($maj_a, $min_a) = ($1, $2 ? $3 : "9999");
# public releases are given minor 9999.