comparison ape.js @ 344:c0bf5d39cb9c WAC2016

Hitting enter in any pop-up goes to the next window (or submits, or starts the test)
author Brecht De Man <b.deman@qmul.ac.uk>
date Wed, 18 Nov 2015 11:08:52 +0100
parents 9575df4d505a
children e2492704d6ff
comparison
equal deleted inserted replaced
343:de9a0a740b6e 344:c0bf5d39cb9c
586 // This function is called when the submit button is clicked. Will check for any further tests to perform, or any post-test options 586 // This function is called when the submit button is clicked. Will check for any further tests to perform, or any post-test options
587 } else 587 } else
588 { 588 {
589 if (audioEngineContext.timer.testStarted == false) 589 if (audioEngineContext.timer.testStarted == false)
590 { 590 {
591 alert('You have not started the test! Please press start to begin the test!'); 591 alert('You have not started the test! Please click a fragment to begin the test!');
592 return; 592 return;
593 } 593 }
594 } 594 }
595 testState.advanceState(); 595 testState.advanceState();
596 } 596 }