Merge pull request #1852 from coreos-inc/underscore_orgs
Better handling of namespace validation to fix a number of issues
This commit is contained in:
commit
67dde6e154
11 changed files with 126 additions and 21 deletions
|
@ -54,9 +54,9 @@
|
|||
};
|
||||
|
||||
$scope.createNewOrg = function() {
|
||||
$('#orgName').popover('hide');
|
||||
|
||||
$scope.createError = null;
|
||||
$scope.creating = true;
|
||||
|
||||
var org = $scope.org;
|
||||
var data = {
|
||||
'name': org.name,
|
||||
|
@ -96,9 +96,6 @@
|
|||
}, function(resp) {
|
||||
$scope.creating = false;
|
||||
$scope.createError = ApiService.getErrorMessage(resp);
|
||||
$timeout(function() {
|
||||
$('#orgName').popover('show');
|
||||
});
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
Reference in a new issue