From cfd1098951b50846bdcecd6bcb48fd24a879a819 Mon Sep 17 00:00:00 2001 From: Pranav Saxena Date: Tue, 2 Jul 2013 15:14:24 +0530 Subject: [PATCH] system VM Scale up response handling --- ui/scripts/system.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 135307b5132..1918a998706 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -6507,19 +6507,19 @@ 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; }, getActionFilter: function() { - return vmActionfilter; + return systemvmActionfilter; } } - } */ + }); }, error:function(json){