- Fix error messages in new org creation
- Add the org name regex to the name field
This commit is contained in:
parent
edf23e8b87
commit
c7cc3f72f8
2 changed files with 2 additions and 2 deletions
|
@ -2485,7 +2485,7 @@ function NewOrgCtrl($scope, $routeParams, $timeout, $location, UserService, Plan
|
|||
PlanService.changePlan($scope, org.name, $scope.holder.currentPlan.stripeId, callbacks);
|
||||
}, function(result) {
|
||||
$scope.creating = false;
|
||||
$scope.createError = result.data.message || result.data;
|
||||
$scope.createError = result.data.error_description || result.data;
|
||||
$timeout(function() {
|
||||
$('#orgName').popover('show');
|
||||
});
|
||||
|
|
Reference in a new issue