mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
Set the url before attempting to update the team
This commit is contained in:
parent
7445d703e0
commit
0662720da3
@ -217,6 +217,7 @@ export function TeamsEdit($scope, $rootScope, $stateParams,
|
||||
$rootScope.flashMessage = null;
|
||||
if ($scope[form.name + '_form'].$valid) {
|
||||
var data = processNewData(form.fields);
|
||||
Rest.setUrl(defaultUrl);
|
||||
Rest.put(data).success(function() {
|
||||
$state.go($state.current, null, { reload: true });
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user