mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 19:30:39 -03:30
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…
x
Reference in New Issue
Block a user