mirror of https://github.com/BTCPrivate/copay.git
Fix $digest() when generateAddress
This commit is contained in:
parent
5cd9f7a93b
commit
4a8f543bf9
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue