I have a page that has an idletimer set to log you out after 20 minutes:
(function($){
var clientTimeoutInMinutes = 20; // hard-coded as requirements ask for 20 minutes
$(document).bind("idle.idleTimer", function(){
form = document.FormOSDA;
form.TargetPage.value = "Logout";
form.action="myactionpage";
form.submit();
});
$.idleTimer(clientTimeoutInMinutes * 60 * 1000); // convert to milli secs
})(jQuery);
But in Chrome, and only in Chrome, this is being called after I do a window.print(), even if they immediately cancel the print dialog. This happens with the most recent Chrome on Windows XP and Mac, and doesn’t happen with IE 8 or Firefox.
How can I stop this happening?
Never mind, found it as a bug report in the jquery-idletimer plugin we’re using, fixed in the latest version.