1
0
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:
Michael Abashian 2016-12-15 17:44:20 -05:00
parent 7445d703e0
commit 0662720da3

View File

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