document.documentElement.onclick = function(e)
{
var time = Fit.Date.Format(new Date(), "hh:mm:ss");
var ran = Math.random();
var msg = "Time is: " + time + "<br>Dismiss using mouse/touch, please!<br><br>" + ran;
Fit.Controls.Dialog.Alert(msg);
}
A new dialog will be reopened, every time we dismiss it by clicking/touching the OK button.
Make sure to test fix on both desktop and touch devices.
See https://jsfiddle.net/37uyp8rc/4/
A new dialog will be reopened, every time we dismiss it by clicking/touching the OK button.
Make sure to test fix on both desktop and touch devices.