Mercurial > hg > webaudioevaluationtool
comparison interfaces/AB.js @ 2825:64a5603831e2
#209 minNumberPlays
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Tue, 09 May 2017 15:39:40 +0100 |
parents | b4e91500891a |
children | 1620cbee9111 |
comparison
equal
deleted
inserted
replaced
2823:25027b8665a2 | 2825:64a5603831e2 |
---|---|
393 } | 393 } |
394 | 394 |
395 function buttonSubmitClick() { | 395 function buttonSubmitClick() { |
396 var checks = testState.currentStateMap.interfaces[0].options, | 396 var checks = testState.currentStateMap.interfaces[0].options, |
397 canContinue = true; | 397 canContinue = true; |
398 | |
399 if (interfaceContext.checkFragmentMinPlays() === false) { | |
400 return; | |
401 } | |
398 | 402 |
399 for (var i = 0; i < checks.length; i++) { | 403 for (var i = 0; i < checks.length; i++) { |
400 if (checks[i].type == 'check') { | 404 if (checks[i].type == 'check') { |
401 var checkState; | 405 var checkState; |
402 switch (checks[i].name) { | 406 switch (checks[i].name) { |