mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 23:07:42 -02:30
make wait stop happen after list refresh is called
This commit is contained in:
@@ -56,10 +56,11 @@ export default
|
|||||||
Rest.setUrl(url);
|
Rest.setUrl(url);
|
||||||
Rest.post({"disassociate": true, "id": labelId})
|
Rest.post({"disassociate": true, "id": labelId})
|
||||||
.success(function () {
|
.success(function () {
|
||||||
Wait('stop');
|
|
||||||
scope.search("job_template");
|
scope.search("job_template");
|
||||||
|
Wait('stop');
|
||||||
})
|
})
|
||||||
.error(function (data, status) {
|
.error(function (data, status) {
|
||||||
|
Wait('stop');
|
||||||
ProcessErrors(scope, data, status, null, { hdr: 'Error!',
|
ProcessErrors(scope, data, status, null, { hdr: 'Error!',
|
||||||
msg: 'Could not disacssociate label from JT. Call to ' + url + ' failed. DELETE returned status: ' + status });
|
msg: 'Could not disacssociate label from JT. Call to ' + url + ' failed. DELETE returned status: ' + status });
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user