mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 20:17:16 +02:00
Web client users are now notified if the server is shut down forcefully (Ctrl-C, reboot etc)
This commit is contained in:
parent
0eb5d29560
commit
7f3633c70a
3 changed files with 14 additions and 6 deletions
|
|
@ -88,7 +88,7 @@ function webclient_input(){
|
|||
$('#inputform')[0].reset(); // clear input field
|
||||
},
|
||||
error: function(XMLHttpRequest, textStatus, errorThrown){
|
||||
msg_display("err", "Error: Server returned an error or timed out. Try resending.");
|
||||
msg_display("err", "Error: Server returned an error or timed out. Try resending or reloading the page.");
|
||||
},
|
||||
})
|
||||
}
|
||||
|
|
@ -145,7 +145,6 @@ function webclient_close(){
|
|||
},
|
||||
error: function(XMLHttpRequest, textStatus, errorThrown){
|
||||
CLIENT_HASH = '0';
|
||||
alert("There was an error disconnecting from the mud server.");
|
||||
}
|
||||
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue