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