When pasting from clipboard using the button on send screen, the text now appears the first time.
This commit is contained in:
parent
eff8442f69
commit
2121155dd0
1 changed files with 3 additions and 1 deletions
|
|
@ -25,7 +25,9 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
|
||||||
$scope.pasteClipboard = function() {
|
$scope.pasteClipboard = function() {
|
||||||
if ($scope.clipboardHasAddress || $scope.clipboardHasContent) {
|
if ($scope.clipboardHasAddress || $scope.clipboardHasContent) {
|
||||||
clipboardService.readFromClipboard(function(text) {
|
clipboardService.readFromClipboard(function(text) {
|
||||||
$scope.formData.search = text;
|
$scope.$apply(function() {
|
||||||
|
$scope.formData.search = text;
|
||||||
|
});
|
||||||
$scope.findContact($scope.formData.search);
|
$scope.findContact($scope.formData.search);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue