Commit 397ded5808efbc5ad7f7a5ee899918770c673dcc
1 parent
5c0d96b385
Exists in
master
minor fix
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
script.js
... | ... | @@ -783,7 +783,8 @@ |
783 | 783 | headers: {} |
784 | 784 | }).then(function mySuccess(result) { |
785 | 785 | console.log("=====result=====",result) |
786 | - $scope.detail = result; | |
786 | + $scope.detail = result; | |
787 | + $location.path("/confirmation") | |
787 | 788 | data.applicantId = result.data.id; |
788 | 789 | $scope.userId = result.data.id; |
789 | 790 | console.log("=====data=====",data) |
... | ... | @@ -818,7 +819,6 @@ |
818 | 819 | headers: {} |
819 | 820 | }).then(function mySuccess(paymentResult) { |
820 | 821 | $scope.paymentResult = paymentResult; |
821 | - $location.path("/confirmation") | |
822 | 822 | }, function myError(error) { |
823 | 823 | }); |
824 | 824 | } | ... | ... |