Merge pull request #2339 from brendandahl/fix-first-page

Fix the initialization of the first page for multiple testing rounds.
This commit is contained in:
Yury Delendik 2012-11-01 17:23:59 -07:00
commit 0c3d03b494

View File

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