Index: remoting/webapp/crd/js/host_install_dialog.js |
diff --git a/remoting/webapp/crd/js/host_install_dialog.js b/remoting/webapp/crd/js/host_install_dialog.js |
index bec2a01f8b9416e163a00c2601c4cc395eb0f87b..d10297fa74c98377be91e1218a6bf66e8631c158 100644 |
--- a/remoting/webapp/crd/js/host_install_dialog.js |
+++ b/remoting/webapp/crd/js/host_install_dialog.js |
@@ -68,7 +68,7 @@ remoting.HostInstallDialog.prototype.show = function(onDone, onError) { |
that.continueInstallButton_.click(); |
that.hostInstaller_.cancel(); |
}, function(){ |
- that.onErrorHandler_(remoting.Error.CANCELLED); |
+ that.onErrorHandler_(new remoting.Error(remoting.Error.Tag.CANCELLED)); |
that.hostInstaller_.cancel(); |
}); |
}; |
@@ -103,7 +103,7 @@ remoting.HostInstallDialog.prototype.onCancelClicked_ = function() { |
this.cancelInstallButton_.removeEventListener( |
'click', this.onCancelClickedHandler_, false); |
this.hostInstaller_.cancel(); |
- this.onErrorHandler_(remoting.Error.CANCELLED); |
+ this.onErrorHandler_(new remoting.Error(remoting.Error.Tag.CANCELLED)); |
}; |
remoting.HostInstallDialog.prototype.onRetryClicked_ = function() { |