Using a jQuery UI dialog is pretty, but doesn't actually give users a chance to extend their time in my opinion. Unless the user happens to look at the site when the dialog is open, they'll never notice it. By using a confirm() instead of a dialog, the tab will auto focus in most browsers, and IE will flash in the taskbar.

Comments

rocketeerbkw’s picture

Title: Use alert() to extend session » Use native confirm() to extend session
Issue summary: View changes

I meant confirm(). Updated issue summary.

johnennew’s picture

This is a good point - I'd be interested to know what others think.

I guess it would be OK to add this as a configurable option so we don't change the current behaviour.

DeaOm’s picture

Version: 7.x-4.3 » 7.x-5.x-dev
Status: Active » Closed (outdated)