Bug #2603 » 0001-Restore-confirm-restart-after-quit-feature.patch
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;
|
||
- « Previous
- 1
- 2
- 3
- Next »