- Fix error messages in new org creation

- Add the org name regex to the name field
This commit is contained in:
Joseph Schorr 2014-07-09 13:35:59 -04:00
parent edf23e8b87
commit c7cc3f72f8
2 changed files with 2 additions and 2 deletions

View file

@ -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');
});