diff options
author | Solly <directxman12+github@gmail.com> | 2015-06-12 14:34:34 -0400 |
---|---|---|
committer | Solly <directxman12+github@gmail.com> | 2015-06-12 14:34:34 -0400 |
commit | 539955ff2753b9bb40e958d4b4eaea3c1d743cb3 (patch) | |
tree | bc082eb58d31b5d95a94d7bf39e1e36654a1a95e | |
parent | 1138bdd4b7e400833eb9cf444ae8daf8702eae7b (diff) | |
parent | 2bcfd58667d585fd8af36c8e525a7062a140bf6e (diff) | |
download | novnc-539955ff2753b9bb40e958d4b4eaea3c1d743cb3.tar.gz |
Merge pull request #497 from MOZGIII/MOZGIII-patch-vnc-auto-fix
Fixed incorrect UI usage and minor updateState params errors in vnc_auto.html
-rw-r--r-- | vnc_auto.html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vnc_auto.html b/vnc_auto.html index ec18ab8..4361a5d 100644 --- a/vnc_auto.html +++ b/vnc_auto.html @@ -211,8 +211,7 @@ path = WebUtil.getQueryVar('path', 'websockify'); if ((!host) || (!port)) { - updateState('failed', - "Must specify host and port in URL"); + updateState(null, 'fatal', null, 'Must specify host and port in URL'); return; } @@ -230,7 +229,7 @@ 'onPasswordRequired': passwordRequired, 'onFBUComplete': FBUComplete}); } catch (exc) { - UI.updateState(null, 'fatal', null, 'Unable to create RFB client -- ' + exc); + updateState(null, 'fatal', null, 'Unable to create RFB client -- ' + exc); return; // don't continue trying to connect } |