Pop-up window error appears when ending experiment? #1843
Unanswered
jubejubess
asked this question in
Q&A
Replies: 1 comment
-
Hi @jubejubess, are you using cognition.run to host your experiment? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
For my experiment, the participant ends the study by clicking a "CLOSE" button at the end. However, participants only see a blank screen with a completed progress bar at the top once they reach the end and when they try to close the browser, a pop-up window appears saying if they close the browser there might be unsaved changes.
I tried adding the following code to the screen with the close button, but it still gets stuck on a blank page with the progress bar and they still get the pop-up window with the same message.
on_finish: function(data){ jsPsych.endExperiment(); }
Is there another way of automatically ending the experiment? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions