changeset 3130:ebe6a4c98635

#287 empty surveys should be skipped
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Thu, 21 Feb 2019 11:52:09 +0000
parents a21b88d212b6
children 735d96d343f6
files js/core.js
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/js/core.js	Thu Feb 21 11:44:17 2019 +0000
+++ b/js/core.js	Thu Feb 21 11:52:09 2019 +0000
@@ -1373,6 +1373,7 @@
             if (this.preTestSurvey !== undefined) {
                 popup.initState(this.preTestSurvey, storage.globalPreTest);
             } else {
+                this.stateIndex++;
                 this.advanceState();
             }
         } else if (this.stateIndex == -1) {