I received the following error message when my session has timed out while I am on the front end of the site (ie node/1).

Uncaught TypeError: o.getClientRects is not a function

Also, the notification doesn't sit in the middle of the screen. Rather the notification is in the top left corner. This error also seems to affect the ajax redirect because I am never sent to the /user page but if I refresh the page I do see the "you've been logged out" message.

However, If I am on an admin page, the notification hits the center of the screen and I am logged out correctly. In summary, it looks like there is something clashing when I am in the frontend and get logged out.

Comments

robpowell created an issue. See original summary.

saradaprasad17’s picture

Working fine for node pages .

AjitS’s picture

Category: Bug report » Support request
Issue tags: -JS, -ajax error

This doesn't sound like a bug in the module, but an issue with your current implementation. To verify you can try installing and testing the module on vanilla drupal installation. Re the placement of the modal - you can control that from your theme's CSS. By default, on core themes the modal appears at the center.

boshtian’s picture

Status: Active » Closed (outdated)

I also think this is not connected with the module, also we haven't heard from robpowell in almost 2 years.

Closing this as outdated.