Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue #16634: Timer not getting reset after completion of the survey (running multiple surveys on the same browser) #1590

Conversation

gabrieljenik
Copy link
Collaborator

Each timer registers itself in a local storage item identified by the Survey ID.
This is used by the reset function to know which timers belong to the survey and are to be reset.
The reset method was replaced by a function (in survey.js instead of timer.js) that reset all timers for a given survey.
Also reviewed the reset method for preview mode.

…urvey (running multiple surveys on the same browser)

Each timer registers itself in a local storage item identified by the Survey ID.
This is used by the reset function to know which timers belong to the survey and are to be reset.
The reset method was replaced by a function (in survey.js instead of timer.js) that reset all timers for a given survey.
Also reviewed the reset method for preview mode.
@cdorin93 cdorin93 added the Tested OK This PR has been tested by QA and works as expected label Sep 28, 2020
@eddylackmann eddylackmann merged commit 54ed33f into LimeSurvey:3.x-LTS Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tested OK This PR has been tested by QA and works as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants