This commit is contained in:
Matias Alejo Garcia 2016-06-07 10:37:39 -03:00
commit 6224f36ff6
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
7 changed files with 7 additions and 7 deletions

View file

@ -1774,7 +1774,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
});
$rootScope.$on('Local/EmailUpdated', function(event, email) {
self.preferences.email = email
self.preferences.email = email;
});
lodash.each(['NewCopayer', 'CopayerUpdated'], function(eventName) {

View file

@ -52,7 +52,7 @@ angular.module('copayApp.controllers').controller('preferencesAltCurrencyControl
go.preferencesGlobal();
$scope.$emit('Local/UnitSettingUpdated');
walletService.updateRemotePreferences(profileService.walletClients, {}, function() {
$log.debug('Remote preferences saved')
$log.debug('Remote preferences saved');
});
$timeout(function() {
$scope.$apply();

View file

@ -28,7 +28,7 @@ angular.module('copayApp.controllers').controller('preferencesLanguageController
walletService.updateRemotePreferences(profileService.getClients(), {},
function() {
$log.debug('Remote preferences saved')
$log.debug('Remote preferences saved');
});
});
});

View file

@ -55,7 +55,7 @@ angular.module('copayApp.controllers').controller('preferencesUnitController',
go.preferencesGlobal();
$scope.$emit('Local/UnitSettingUpdated');
walletService.updateRemotePreferences(profileService.getClients(), {}, function() {
$log.debug('Remote preferences saved')
$log.debug('Remote preferences saved');
});
$timeout(function() {
$scope.$apply();

View file

@ -212,7 +212,7 @@ angular.module('copayApp.services').factory('walletService', function($log, loda
var config = configService.getSync().wallet.settings;
//prefs.email (may come from arguments)
prefs.language = uxLanguage.getCurrentLanguage();;
prefs.language = uxLanguage.getCurrentLanguage();
prefs.unit = config.unitCode;
updateRemotePreferencesFor(clients, prefs, function(err) {

View file

@ -55,7 +55,7 @@ describe('disclaimerController', function() {
initController: true,
noDisclaimer: true,
}, done);
})
});
afterEach(function(done) {
mocks.clear({}, done);

View file

@ -222,7 +222,7 @@ mocks.init = function(fixtures, controllerName, opts, done) {
should.not.exist(err, err);
if (opts.noDisclaimer){
return done();
};
}
_profileService_.setDisclaimerAccepted(function() {
if (!opts.initController)
startController();