mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
Moved wait stop calls on jt form so that they fire right before reloading state
This commit is contained in:
parent
f6bf0ad21f
commit
2cab6982c1
@ -341,7 +341,6 @@
|
||||
Rest.post(data)
|
||||
.then(({data}) => {
|
||||
|
||||
Wait('stop');
|
||||
if (data.related && data.related.callback) {
|
||||
Alert('Callback URL',
|
||||
`Host callbacks are enabled for this template. The callback URL is:
|
||||
|
||||
@ -496,7 +496,7 @@ export default
|
||||
$scope.removeTemplateSaveSuccess();
|
||||
}
|
||||
$scope.removeTemplateSaveSuccess = $scope.$on('templateSaveSuccess', function(e, data) {
|
||||
Wait('stop');
|
||||
|
||||
if (data.related &&
|
||||
data.related.callback) {
|
||||
Alert('Callback URL',
|
||||
@ -606,6 +606,7 @@ export default
|
||||
}
|
||||
$q.all(defers)
|
||||
.then(function() {
|
||||
Wait('stop');
|
||||
saveCompleted();
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user