From d53a359987e5d726b7becd0ff05f79c74eb19e3d Mon Sep 17 00:00:00 2001 From: Pranav Saxena Date: Tue, 2 Jul 2013 12:38:04 +0530 Subject: [PATCH] scale up VM response handling --- ui/scripts/instances.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/scripts/instances.js b/ui/scripts/instances.js index e9a3d67f72d..f905fa45faa 100644 --- a/ui/scripts/instances.js +++ b/ui/scripts/instances.js @@ -1266,9 +1266,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; @@ -1277,7 +1277,7 @@ return vmActionfilter; } } - } */ + }); }, error:function(json){