Closed ghost closed 10 years ago
@icoast This works well. If enableDialog = false, the browser title warning is also disabled. I assume this matches the intent of a 'silent log out' with no warning to the idle user?
Correct. In my case there should be no prompt or warning about idling.
That's weird, no idea why I would change that line. It was a mistake. It's been reverted to the original dependency URL.
Okay! All looks good. I will merge this soon, when I have time to update the documentation too. Thank you for the patch. Appreciated.
After some thought about this modification, I think that, if the warning dialog is disabled in the configuration, all the functions related to the warning dialog should not run in the script. For example, checking if the dialog is open: it won't ever be open, so we shouldn't check. Also the dialogDisplayLimit should be ignored: the logoutUser function should run as soon as the idleTimeLimit is met.
What do you think?
I've added your suggested functionality, with a few modifications as described above. Much appreciate the feedback!
You work too quick! I agree with your suggestion and now what you've implemented. Great plugin made better. Thanks.
You provided a good suggestion, and was happy to implement it. Just modified your code a bit. Thanks again.
Thanks, icoast. I'll have a look at this soon.