Multiple dialogs open

Created on 27 September 2023, about 1 year ago
Updated 20 August 2024, 3 months ago

Problem/Motivation

When the timer runs out and the dialog opens up after the first time this happens, there will be multiple dialogs open.

Steps to reproduce

  • Install and configure the module (lower the timeout time, to make it easy to test)
  • Go to main page and wait
  • The first time the dialog opens click the button to stay logged in
  • When the dialog opens for the second or the nth time, there will be multiple dialogs. Spamming the stay logged in button will still correctly reset the timer

Proposed resolution

Check if there is an open dialog in the background and close it before creating a new one. Honestly, this whole JS file will need to be refactored sometime in the future, over the years fixes were added and much of the code is outdated with modern JS.

🐛 Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024