From 4a8f543bf9ae12ba0fea0a9f523885d78883ee25 Mon Sep 17 00:00:00 2001 From: Gustavo Cortez Date: Fri, 18 Apr 2014 11:20:06 -0300 Subject: [PATCH] Fix $digest() when generateAddress --- js/services/controllerUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/services/controllerUtils.js b/js/services/controllerUtils.js index 1c5cde907..ec17748f6 100644 --- a/js/services/controllerUtils.js +++ b/js/services/controllerUtils.js @@ -40,7 +40,7 @@ angular.module('copay.controllerUtils').factory('controllerUtils', function ($ro }); w.on('refresh', function() { console.log('[controllerUtils.js] Refreshing'); //TODO - $rootScope.$digest(); + // Do not use $digest() here. }); w.on('openError', root.onErrorDigest); w.on('close', root.onErrorDigest);