Implement proper send search design.

This commit is contained in:
Andy Phillipson 2017-06-08 17:43:06 -04:00
commit e5c6e5a2d2
No known key found for this signature in database
GPG key ID: D813A67D567D6C88
3 changed files with 73 additions and 7 deletions

View file

@ -128,6 +128,16 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
updateWalletsList();
};
$scope.searchInFocus = function() {
$scope.searchFocus = true;
};
$scope.searchBlurred = function() {
if ($scope.formData.search == null) {
$scope.searchFocus = false;
}
};
$scope.findContact = function(search) {
if (incomingData.redir(search)) {