Mercurial > hg > webaudioevaluationtool
changeset 1216:8d9b3e45b8f2
Bug #1629: testPages now controls the number of pages to execute.
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Tue, 23 Feb 2016 16:06:03 +0000 |
parents | 5df87aa95395 |
children | d5898c3ae2ba |
files | core.js |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/core.js Tue Feb 23 14:39:06 2016 +0000 +++ b/core.js Tue Feb 23 16:06:03 2016 +0000 @@ -802,10 +802,10 @@ } for (var i=0; i<specification.pages.length; i++) { - if (specification.testPages < i && specification.testPages != 0) {break;} + if (specification.testPages <= i && specification.testPages != 0) {break;} this.stateMap.push(pageHolder[i]); - } + if (specification.preTest != null) {this.preTestSurvey = specification.preTest;} if (specification.postTest != null) {this.postTestSurvey = specification.postTest;}