Skip to content
This repository has been archived by the owner on Sep 19, 2018. It is now read-only.

Dialog only appears twice #7

Open
andrefgomes opened this issue Jan 12, 2015 · 0 comments
Open

Dialog only appears twice #7

andrefgomes opened this issue Jan 12, 2015 · 0 comments

Comments

@andrefgomes
Copy link

If you put the warnAfter to 2000 (just to test) and keeping choosing the option 'Stay connected' the session timeout dialog only appears twice.
Changing:
$('#sessionTimeout-dialog-logout').on('click', function () { window.location = o.logoutUrl; }); $('#sessionTimeout-dialog').on('hide.bs.modal', function () { ...

To
$('body').on('click', '#sessionTimeout-dialog-logout', function () { window.location = o.logoutUrl; });
$('body').on('hide.bs.modal', '#sessionTimeout-dialog', function () { ...

Solve the issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant