scale up VM response handling

This commit is contained in:
Pranav Saxena 2013-07-02 12:38:04 +05:30
parent 625a9a1dc8
commit d53a359987

View File

@ -1266,9 +1266,9 @@
dataType: "json", dataType: "json",
async: true, async: true,
success: function(json) { success: function(json) {
// var jid = json.scalevirtualmachineresponse.jobid; var jid = json.scalevirtualmachineresponse.jobid;
args.response.success(); args.response.success({
/* {_custom: _custom:
{jobId: jid, {jobId: jid,
getUpdatedItem: function(json) { getUpdatedItem: function(json) {
return json.queryasyncjobresultresponse.jobresult.virtualmachine; return json.queryasyncjobresultresponse.jobresult.virtualmachine;
@ -1277,7 +1277,7 @@
return vmActionfilter; return vmActionfilter;
} }
} }
} */ });
}, },
error:function(json){ error:function(json){