diff --git a/public/views/modals/confirmation.html b/public/views/modals/confirmation.html index a057c7a4e..1d56e2348 100644 --- a/public/views/modals/confirmation.html +++ b/public/views/modals/confirmation.html @@ -2,13 +2,13 @@
Changing wallet alias only afects the local wallet name. +
Changing wallet alias only afects the local wallet name.
Setting up email notifications could weaken your privacy, if the wallet service provider is compromised. Information available to an attacker would include your wallet addresses and its balance, but no more. +
Setting up email notifications could weaken your privacy, if the wallet service provider is compromised. Information available to an attacker would include your wallet addresses and its balance, but no more.
diff --git a/src/js/controllers/preferencesEmail.js b/src/js/controllers/preferencesEmail.js index 783ba82ee..241297501 100644 --- a/src/js/controllers/preferencesEmail.js +++ b/src/js/controllers/preferencesEmail.js @@ -3,19 +3,15 @@ angular.module('copayApp.controllers').controller('preferencesEmailController', function($scope, go, profileService, gettext, $log) { this.save = function(form) { + var self = this; this.error = null; - if (!form.$valid && this.email) { - this.error = gettext('Invalid email'); - return; - } - var fc = profileService.focusedClient; this.saving = true; fc.savePreferences({ email: this.email }, function(err) { - fc.saving = false; + self.saving = false; if (err) { $log.warn(err); $scope.$emit('Local/ClientError', err);