comparison ape.js @ 1970:cf08f2881a39

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 82f43919f385
children a0d7a64d8325 235594325b84
comparison
equal deleted inserted replaced
1969:025867e74b01 1970:cf08f2881a39
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 }