Commit 539955ff authored by Solly's avatar Solly

Merge pull request #497 from MOZGIII/MOZGIII-patch-vnc-auto-fix

Fixed incorrect UI usage and minor updateState params errors in vnc_auto.html
parents 1138bdd4 2bcfd586
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment