#28962 closed defect (bug) (fixed)
Impossible to close the interim login modal
| Reported by: | johnbillion | Owned by: | chriscct7 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.4 |
| Component: | Login and Registration | Version: | 2.9 |
| Severity: | normal | Keywords: | has-patch needs-testing |
| Cc: | Focuses: | administration |
Description
Steps to reproduce:
- Open a post for editing
- Clear your cookies or log out of the site in another window
- When autosave or heartbeat kicks in, you'll be presented with the "Session expired" modal window
- Attempt to close the window using the
Xin the top right corner
Note that the modal closes but immediately re-opens. We should allow this window to be closed in case the user needs to access any of the content on the screen.
Attachments (1)
Change History (5)
#1
@
12 years ago
- Keywords has-patch needs-testing added; needs-patch removed
Originally when hide() is called, only the beforeunload.wp-auth-check callback is disabled, but not heartbeat-tick.wp-auth-check. The latter is checking for the wp-auth-check value in the callback which can't be changed since the user is still logged out, we just don't want to display the popup constantly.
If we deactivate the heartbeat-tick.wp-auth-check event handler the popup verification will be disabled as well until the next request is processed - and IMO other AJAX requests should behave properly and prevent non-authorized activities.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
disable heartbeat-tick.wp-auth-check