# HG changeset patch # User Nicholas Jillings # Date 1452530919 0 # Node ID fd941017792bc551e631887697986b3d2fdb4395 # Parent f6c9f9e5400e04da1f4b404b126ea73985203443 Removed AB checks which are not compatible. diff -r f6c9f9e5400e -r fd941017792b AB.js --- a/AB.js Mon Jan 11 16:32:26 2016 +0000 +++ b/AB.js Mon Jan 11 16:48:39 2016 +0000 @@ -277,76 +277,44 @@ document.getElementById('submit').style.left = (window.innerWidth-250)/2 + 'px'; } -function buttonSubmitClick() // TODO: Only when all songs have been played! +function buttonSubmitClick() { var checks = []; checks = checks.concat(testState.currentStateMap.interfaces[0].options); checks = checks.concat(specification.interfaces.options); - var canContinue = true; - - // Check that the anchor and reference objects are correctly placed - if (interfaceContext.checkHiddenAnchor() == false) {return;} - if (interfaceContext.checkHiddenReference() == false) {return;} for (var i=0; i saves + // Get the current information in store (remember to appendChild your data to it) + // pageSpecification is the current page node configuration + // To create new XML nodes, use storage.document.createElement(); } \ No newline at end of file diff -r f6c9f9e5400e -r fd941017792b mushra.js --- a/mushra.js Mon Jan 11 16:32:26 2016 +0000 +++ b/mushra.js Mon Jan 11 16:48:39 2016 +0000 @@ -433,9 +433,12 @@ } } -function pageXMLSave(store, testXML) +function pageXMLSave(store, pageSpecification) { // MANDATORY // Saves a specific test page - // You can use this space to add any extra nodes to your XML saves + // You can use this space to add any extra nodes to your XML saves + // Get the current information in store (remember to appendChild your data to it) + // pageSpecification is the current page node configuration + // To create new XML nodes, use storage.document.createElement(); }