Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom dialog fails to show falling bag to default dialog #5

Closed
endur24 opened this issue Jul 27, 2017 · 1 comment
Closed

Custom dialog fails to show falling bag to default dialog #5

endur24 opened this issue Jul 27, 2017 · 1 comment

Comments

@endur24
Copy link

endur24 commented Jul 27, 2017

Great work!
I've implemented the plugin and it works with the default settings.

My custom dialog works when I load the page NOT with ajax. When I enter my password to unlock the screen through my custom dialog, it unlocks and if I stay idle without doing anything after the unlock for the timeout period, it locks back using the default dialog NOT my custom dialog.

When I inspect element with chrome, it shows two id="jitp-lock-display" in the page. I think the plugin should always check if there is a custom dialog defined before pulling up the defaul.

I want to always see my custom dialog.

Thanks.

@endur24
Copy link
Author

endur24 commented Sep 29, 2017

Problem resolved.
I had to enforce always showing my custom dialog screen using the code below:
lockContentCallback: function() { return true; },

@endur24 endur24 closed this as completed Sep 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant