mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
Add error for status code of 0.
This commit is contained in:
@@ -208,6 +208,7 @@ Guacamole.HTTPTunnel = function(tunnelURL) {
|
||||
var status = xmlhttprequest.status;
|
||||
|
||||
// Special cases
|
||||
if (status == 0) return "Disconnected";
|
||||
if (status == 200) return "Success";
|
||||
if (status == 403) return "Unauthorized";
|
||||
if (status == 404) return "Connection does not exist";
|
||||
|
Reference in New Issue
Block a user