changeset 1040:aef4cbbd66d1

Small fix to loading checks array
author Nicholas Jillings <nicholas.jillings@eecs.qmul.ac.uk>
date Fri, 19 Jun 2015 16:41:33 +0100
parents db70840ba8bb
children 6a188a912b0f
files ape.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ape.js	Fri Jun 19 16:31:14 2015 +0100
+++ b/ape.js	Fri Jun 19 16:41:33 2015 +0100
@@ -476,7 +476,7 @@
 
 function buttonSubmitClick() // TODO: Only when all songs have been played!
 {
-	var checks = specification.commonInterface.options;
+	var checks = testState.currentStateMap[testState.currentIndex].interfaces[0].options;
 	var canContinue = true;
 	
 	// Check that the anchor and reference objects are correctly placed