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){