mirror of https://github.com/BTCPrivate/copay.git
prevent to tap multiple times and open multimple views
This commit is contained in:
parent
3068fc31f4
commit
6183fc69f4
|
@ -54,7 +54,7 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
$ionicScrollDelegate.resize();
|
$ionicScrollDelegate.resize();
|
||||||
$scope.$apply();
|
$scope.$apply();
|
||||||
}, 100);
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
|
||||||
$scope.list = originalList;
|
$scope.list = originalList;
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
$scope.$apply();
|
$scope.$apply();
|
||||||
}, 10);
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -86,6 +86,7 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.goToAmount = function(item) {
|
$scope.goToAmount = function(item) {
|
||||||
|
$timeout(function() {
|
||||||
item.getAddress(function(err, addr) {
|
item.getAddress(function(err, addr) {
|
||||||
if (err || !addr) {
|
if (err || !addr) {
|
||||||
$log.error(err);
|
$log.error(err);
|
||||||
|
@ -99,6 +100,7 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
|
||||||
toEmail: item.email
|
toEmail: item.email
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.$on("$ionicView.beforeEnter", function(event, data) {
|
$scope.$on("$ionicView.beforeEnter", function(event, data) {
|
||||||
|
|
Loading…
Reference in New Issue