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