autocomplete send form after uri handled

This commit is contained in:
Manuel Araoz 2014-07-02 17:35:37 -03:00
commit 8acaca75fb
6 changed files with 37 additions and 7 deletions

View file

@ -13,6 +13,10 @@ angular.module('copayApp.controllers').controller('SigninController',
$scope.selectedWalletId = $scope.wallets.length ? $scope.wallets[0].id : null;
$scope.openPassword = '';
if ($rootScope.pendingPayment) {
notification.info('Login Required', 'Please open wallet to complete payment');
}
$scope.open = function(form) {
if (form && form.$invalid) {
notification.error('Error', 'Please enter the required fields');