reset note in form

This commit is contained in:
Matias Alejo Garcia 2014-07-25 17:45:06 -03:00
parent e85431861e
commit eea45d4413
1 changed files with 2 additions and 2 deletions

View File

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