diff ape.js @ 2046:aa57c9c16cba

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