- Issue created by @benjamin_dk
- Status changed to Closed: duplicate
3 months ago 6:26pm 22 August 2024
Vanilla Drupal 10.3.2 site with only Autologout v2.0.0 installed (DDEV setup, php v8.1).
When a user reaches the logout time limit and the Logout dialog appears, the dialog does not go away immediately when clicking "Yes" to stay logged in. After multiple clicks the window goes away.
Here the background is all greyed out - because of multiple calls to the function that activates the popup?
Notice network tab - ajax_set_last is called 3 times before the popup goes away:
I am not sure what is causing the error, but I noticed that the latest MR of this issue https://www.drupal.org/project/autologout/issues/3339695 ✨ Use Drupal.dialog call instead of jQuery dialog RTBC deals with another strategy for dialogs, so this might fix it.
This bug seems very similar, but might not be exactly the same https://www.drupal.org/project/autologout/issues/3390069 🐛 Multiple dialogs open Postponed .
See if above MR fixes the problem, else identify the exact issue.
Closed: duplicate
2.0
Code