Project

General

Profile

Bug #2603 » 0001-Restore-confirm-restart-after-quit-feature.patch

Bruce Toll, 01/24/2014 11:46 PM

View differences:

src/web/skeleton/Wt.js
var updateTimeoutStart;
function scheduleUpdate() {
if (quited)
return;
if (quited) {
if (norestart)
return;
if (confirm("The application was quited, do you want to restart?")) {
document.location = document.location;
norestart = true;
return;
} else {
norestart = true;
return;
}
}
_$_$if_WEB_SOCKETS_$_();
if (websocket.state != WebSocketsUnavailable) {
......
if (WT.isIEMobile) feedback = false;
if (quited) {
if (norestart)
return;
if (confirm("The application was quited, do you want to restart?")) {
document.location = document.location;
norestart = true;
return;
} else {
norestart = true;
return;
}
}
if (quited)
return;
var data, tm, poll;
(3-3/3)