summaryrefslogtreecommitdiffstats
path: root/remoting/webapp/event_handlers.js
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/webapp/event_handlers.js')
-rw-r--r--remoting/webapp/event_handlers.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/remoting/webapp/event_handlers.js b/remoting/webapp/event_handlers.js
index 4ab665e..d1b1d75 100644
--- a/remoting/webapp/event_handlers.js
+++ b/remoting/webapp/event_handlers.js
@@ -34,6 +34,9 @@ function onLoad() {
remoting.connectMe2MeWithPin();
event.preventDefault();
};
+ var cancelPinEntry = function() {
+ remoting.initDaemonUi();
+ }
var doAuthRedirect = function() {
remoting.oauth2.doAuthRedirect();
};
@@ -55,6 +58,7 @@ function onLoad() {
{ event: 'click', id: 'client-finished-it2me-button',
fn: goFinishedIt2Me },
{ event: 'click', id: 'client-finished-me2me-button', fn: goHome },
+ { event: 'click', id: 'cancel-pin-entry-button', fn: cancelPinEntry },
{ event: 'click', id: 'client-reconnect-button', fn: reload },
{ event: 'click', id: 'cancel-access-code-button',
fn: remoting.cancelConnect },