Index: remoting/webapp/crd/js/me2me_connect_flow.js |
diff --git a/remoting/webapp/crd/js/me2me_connect_flow.js b/remoting/webapp/crd/js/me2me_connect_flow.js |
index 59cd4eeefed9d01ae73e2ea529e50c0e9955e55e..6c52febebf14200fb64a50ea746b60c153cf2162 100644 |
--- a/remoting/webapp/crd/js/me2me_connect_flow.js |
+++ b/remoting/webapp/crd/js/me2me_connect_flow.js |
@@ -74,7 +74,7 @@ remoting.HostNeedsUpdateDialog.prototype.onOK_ = function() { |
/** @private */ |
remoting.HostNeedsUpdateDialog.prototype.onCancel_ = function() { |
- this.deferred_.reject(remoting.Error.CANCELLED); |
+ this.deferred_.reject(new remoting.Error(remoting.Error.Tag.CANCELLED)); |
this.cleanup_(); |
}; |
@@ -163,7 +163,7 @@ remoting.PinDialog.prototype.onConnect_ = function() { |
/** @private */ |
remoting.PinDialog.prototype.onCancel_ = function() { |
- this.deferred_.reject(remoting.Error.CANCELLED); |
+ this.deferred_.reject(new remoting.Error(remoting.Error.Tag.CANCELLED)); |
remoting.setMode(remoting.AppMode.HOME); |
}; |