fix locking amount in send

This commit is contained in:
Matias Alejo Garcia 2016-02-23 09:54:35 -03:00
commit c831f4ce8c
2 changed files with 9 additions and 3 deletions

View file

@ -56,7 +56,10 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
$log.debug('Cleaning WalletHome Instance');
lodash.each(self, function(v, k) {
if (lodash.isFunction(v)) return;
if (vanillaScope[k]) return;
if (vanillaScope[k]) {
self[k] = vanillaScope[k];
return;
}
delete self[k];
});
@ -823,7 +826,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
}, 1);
};
// subscription
this.setOngoingProcess = function(name) {
var self = this;
self.blockUx = !!name;