reset note in form

This commit is contained in:
Matias Alejo Garcia 2014-07-25 17:45:06 -03:00
commit eea45d4413

View file

@ -72,8 +72,8 @@ angular.module('copayApp.controllers').controller('SendController',
}); });
// reset fields // reset fields
$scope.address = $scope.amount = $scope.comment = null; $scope.address = $scope.amount = $scope.commentText = null;
form.address.$pristine = form.amount.$pristine = form.comment.$pristine = true; form.address.$pristine = form.amount.$pristine = true;
}; };
// QR code Scanner // QR code Scanner