Fix the initialization of the first page for multiple testing rounds.

This commit is contained in:
Brendan Dahl 2012-11-01 11:24:46 -07:00
parent b47e4b8855
commit a2b2ecaa29

View File

@ -206,7 +206,7 @@ function nextPage(task, loadError) {
if (isLastPage(task)) { if (isLastPage(task)) {
if (++task.round < task.rounds) { if (++task.round < task.rounds) {
log(' Round ' + (1 + task.round) + '\n'); log(' Round ' + (1 + task.round) + '\n');
task.pageNum = 1; task.pageNum = task.firstPage || 1;
} else { } else {
++currentTaskIdx; ++currentTaskIdx;
nextTask(); nextTask();