diff --git a/ui/scripts/instances.js b/ui/scripts/instances.js index 27ad5990685..e5d7d14569b 100644 --- a/ui/scripts/instances.js +++ b/ui/scripts/instances.js @@ -1247,7 +1247,7 @@ dataType: "json", async: true, success: function(json) { - var jid = json.scalevirtualmachineresponse.jobid; + // var jid = json.scalevirtualmachineresponse.jobid; args.response.success(); /* {_custom: {jobId: jid, diff --git a/ui/scripts/system.js b/ui/scripts/system.js index f2017cd948f..dc09ea86926 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -5421,9 +5421,9 @@ dataType: "json", async: true, success: function(json) { - var jid = json.scalevirtualmachineresponse.jobid; - args.response.success( - {_custom: + // var jid = json.scalevirtualmachineresponse.jobid; + args.response.success(); + /* {_custom: {jobId: jid, getUpdatedItem: function(json) { return json.queryasyncjobresultresponse.jobresult.virtualmachine; @@ -5433,8 +5433,8 @@ } } - } - ); + } */ + }, error:function(json){ args.response.error(parseXMLHttpResponse(json)); @@ -6305,9 +6305,9 @@ dataType: "json", async: true, success: function(json) { - var jid = json.scalevirtualmachineresponse.jobid; - args.response.success( - {_custom: + // var jid = json.scalevirtualmachineresponse.jobid; + args.response.success(); + /* {_custom: {jobId: jid, getUpdatedItem: function(json) { return json.queryasyncjobresultresponse.jobresult.virtualmachine; @@ -6316,8 +6316,8 @@ return vmActionfilter; } } - } - ); + }*/ + }, error:function(json){ args.response.error(parseXMLHttpResponse(json));