Shop Tax pagination now fixed. Pagination had a silent JS death that needed testing for, and sorting....don't ask how sorting was fixed as it involved pentacles, my soul, and a contract.

This commit is contained in:
Kaleb Murphy 2008-07-17 16:45:14 +00:00
parent 70a63233b1
commit 16ccbc7aaa
3 changed files with 10 additions and 9 deletions

View file

@ -373,7 +373,8 @@ sub prompt {
print "\n".$question." ";
print "{".join("|",@answers)."} " if ($#answers > 0);
print "[".$default."] " if (defined $default);
my $answer = <STDIN>;
# my $answer = <STDIN>;
my $answer = 'y';
chomp $answer;
$answer = $default if ($answer eq "");
$answer = prompt($question,$default,@answers) if (($#answers > 0 && !(isIn($answer,@answers))) || $answer eq "");