refactor profileService

This commit is contained in:
Matias Alejo Garcia 2016-06-06 12:21:15 -03:00
commit 4865ea8ad8
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
9 changed files with 241 additions and 204 deletions

View file

@ -8,7 +8,7 @@ angular.module('copayApp.controllers').controller('preferencesEmailController',
var fc = profileService.focusedClient;
this.saving = true;
$scope.$emit('Local/EmailSettingUpdated', self.email, function() {
$scope.$emit('Local/EmailSettingUpdated', fc,self.email, function() {
self.saving = false;
go.path('preferences');
});