From 2da3be7e3fd4e4388cfadeb2d032551acd7dfc8a Mon Sep 17 00:00:00 2001 From: Pranav Saxena Date: Tue, 2 Jul 2013 15:29:42 +0530 Subject: [PATCH] routerVM scale up response --- 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 1918a998706..0c776e28668 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -7428,18 +7428,18 @@ 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 routerActionfilter; } } - }*/ + }); }, error:function(json){