diff --git a/src/main/ui/merchant_application.html b/src/main/ui/merchant_application.html index 60669f596..8f508ca71 100644 --- a/src/main/ui/merchant_application.html +++ b/src/main/ui/merchant_application.html @@ -287,9 +287,9 @@ - + ng-bind="description" ng-disabled="canClick||name_exist">
The phone number has already existed diff --git a/src/main/ui/static/merchantapplication/merchant_application.js b/src/main/ui/static/merchantapplication/merchant_application.js index 5987e3fbc..4aac3f34b 100644 --- a/src/main/ui/static/merchantapplication/merchant_application.js +++ b/src/main/ui/static/merchantapplication/merchant_application.js @@ -160,6 +160,8 @@ angular.module('applyPartnerApp', ['ngMessages']).controller('applyPartnerCtrl', }, function (resp) { if(resp.data.status+0 ==500) { $interval.cancel($scope.phone_code_timer); + $scope.description="Send Code"; + $scope.canClick=false; } $scope.resError = resp.data.message;