Chromium Code Reviews| Index: remoting/webapp/crd/js/crd_event_handlers.js |
| diff --git a/remoting/webapp/crd/js/crd_event_handlers.js b/remoting/webapp/crd/js/crd_event_handlers.js |
| index 01439faba5d1d73810c7a05f5e88146f9ac8520d..782004da3814a6b3706310e1f4de0e9a6d5214d9 100644 |
| --- a/remoting/webapp/crd/js/crd_event_handlers.js |
| +++ b/remoting/webapp/crd/js/crd_event_handlers.js |
| @@ -11,13 +11,6 @@ remoting.initElementEventHandlers = function() { |
| var goHome = function() { |
| remoting.setMode(remoting.AppMode.HOME); |
| }; |
| - var goFinishedIT2Me = function() { |
|
kelvinp
2015/04/22 01:19:01
Dead code.
|
| - if (remoting.currentMode == remoting.AppMode.CLIENT_CONNECT_FAILED_IT2ME) { |
| - remoting.setMode(remoting.AppMode.CLIENT_UNCONNECTED); |
| - } else { |
| - goHome(); |
| - } |
| - }; |
| /** @type {Array<{event: string, id: string, fn: function(Event):void}>} */ |
| var it2me_actions = [ |
| { event: 'click', id: 'cancel-share-button', fn: remoting.cancelShare }, |
| @@ -44,7 +37,6 @@ remoting.initElementEventHandlers = function() { |
| ]; |
| /** @type {Array<{event: string, id: string, fn: function(Event):void}>} */ |
| var auth_actions = [ |
| - { event: 'click', id: 'cancel-connect-button', fn: goHome }, |
| { event: 'click', id: 'sign-out', fn:remoting.signOut }, |
| { event: 'click', id: 'token-refresh-error-ok', fn: goHome }, |
| { event: 'click', id: 'token-refresh-error-sign-in', |