Web client users are now notified if the server is shut down forcefully (Ctrl-C, reboot etc)

This commit is contained in:
Griatch 2010-12-11 14:26:57 +00:00
parent 0eb5d29560
commit 7f3633c70a
3 changed files with 14 additions and 6 deletions

View file

@ -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.");
}
});