]> git.proxmox.com Git - mirror_novnc.git/commitdiff
UI: Fix typo preventing reconnect after password
authorSolly Ross <sross@redhat.com>
Mon, 24 Aug 2015 20:41:00 +0000 (16:41 -0400)
committerSolly Ross <sross@redhat.com>
Mon, 24 Aug 2015 20:41:00 +0000 (16:41 -0400)
There was a typo in ui.js preventing the use of the connect button
after a password was entered.

include/ui.js

index 929e37f8338e6d7b87377ee6b9de8531d88cdf24..b2938d4d36a46d075d6c6137c87ca829d47fe1b4 100644 (file)
@@ -625,7 +625,7 @@ var UI;
             UI.rfb.sendPassword($D('noVNC_password').value);
             //Reset connect button.
             $D('noVNC_connect_button').value = "Connect";
-            $D('noVNC_connect_button').onclick = UI.Connect;
+            $D('noVNC_connect_button').onclick = UI.connect;
             //Hide connection panel.
             UI.toggleConnectPanel();
             return false;