mirror of https://github.com/apache/cloudstack.git
bug 8296: fix a bug that periodicallyCheckNonCompleteAsyncJob() sent out-of-date jobId to queryAsyncJobResult API.
This commit is contained in:
parent
5166285f99
commit
ba9d2d946a
|
|
@ -27,7 +27,8 @@ function periodicallyCheckNonCompleteAsyncJob() {
|
|||
for(var jobId in g_nonCompleteAsyncJob) {
|
||||
$.ajax({
|
||||
data: createURL("command=queryAsyncJobResult&jobId="+jobId),
|
||||
dataType: "json",
|
||||
dataType: "json",
|
||||
async: false,
|
||||
success: function(json) {
|
||||
var result = json.queryasyncjobresultresponse;
|
||||
if (result.jobstatus == 0) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue