From 5da6ba63567d92ed6eb036e7083f96ef052238e4 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Mon, 22 Aug 2016 15:16:00 -0300 Subject: [PATCH] rm SpendUnconfirmedUpdated event --- {src/js/controllers => old}/preferencesGlobal.js | 1 - src/js/controllers/tab-settings.js | 1 - 2 files changed, 2 deletions(-) rename {src/js/controllers => old}/preferencesGlobal.js (97%) diff --git a/src/js/controllers/preferencesGlobal.js b/old/preferencesGlobal.js similarity index 97% rename from src/js/controllers/preferencesGlobal.js rename to old/preferencesGlobal.js index 0c8ec7f78..dbedb3389 100644 --- a/src/js/controllers/preferencesGlobal.js +++ b/old/preferencesGlobal.js @@ -49,7 +49,6 @@ angular.module('copayApp.controllers').controller('preferencesGlobalController', } }; configService.set(opts, function(err) { - $rootScope.$emit('Local/SpendUnconfirmedUpdated', $scope.spendUnconfirmed); if (err) $log.debug(err); }); }; diff --git a/src/js/controllers/tab-settings.js b/src/js/controllers/tab-settings.js index e697dc887..a0b312a2b 100644 --- a/src/js/controllers/tab-settings.js +++ b/src/js/controllers/tab-settings.js @@ -64,7 +64,6 @@ angular.module('copayApp.controllers').controller('tabSettingsController', funct } }; configService.set(opts, function(err) { - $rootScope.$emit('Local/SpendUnconfirmedUpdated', $scope.spendUnconfirmed); if (err) $log.debug(err); }); };