Issue #3395581 by usingsession, bovver, codebymikey: Persist logout behaviour between background tabs and windows
Issue #3395581 by usingsession, bovver, codebymikey: Persist logout behaviour between background tabs and windows
As per @bovver's implementation, it makes use of a timestamp to check the user's activity.
- Moved away from the global
Drupal.Ajax
properties because thesuccess
callback was being called multiple times for the same request. - Use
Drupal.url()
to construct the API endpoint.
Closes #3395581