Fix $digest() when generateAddress

This commit is contained in:
Gustavo Cortez 2014-04-18 11:20:06 -03:00
parent 5cd9f7a93b
commit 4a8f543bf9
1 changed files with 1 additions and 1 deletions

View File

@ -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);