changeset 1779:994f49d5c54c

Small fix to loading checks array
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Fri, 19 Jun 2015 16:41:33 +0100
parents 3c397e8a5cbd
children e9df2da346f1
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