Mercurial > hg > webaudioevaluationtool
diff interfaces/AB.js @ 3035:1620cbee9111
Implemented #218 in all interfaces
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Tue, 26 Sep 2017 10:15:39 +0100 |
parents | 64a5603831e2 |
children | f83b364d3d4b |
line wrap: on
line diff
--- a/interfaces/AB.js Tue Sep 26 09:34:38 2017 +0100 +++ b/interfaces/AB.js Tue Sep 26 10:15:39 2017 +0100 @@ -395,10 +395,13 @@ function buttonSubmitClick() { var checks = testState.currentStateMap.interfaces[0].options, canContinue = true; - + if (interfaceContext.checkFragmentMinPlays() === false) { - return; -} + return; + } + if (interfaceContext.checkCommentQuestions() === false) { + return; + } for (var i = 0; i < checks.length; i++) { if (checks[i].type == 'check') {