From b33b316755497df637e7e528b6ec1690f5ca9f01 Mon Sep 17 00:00:00 2001 From: Pranav Saxena Date: Sun, 5 May 2013 12:02:32 +0530 Subject: [PATCH] scale up virtual machine response change in the backend --- 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 1b89d4f953b..27ad5990685 100644 --- a/ui/scripts/instances.js +++ b/ui/scripts/instances.js @@ -1248,8 +1248,8 @@ async: true, success: function(json) { var jid = json.scalevirtualmachineresponse.jobid; - args.response.success( - {_custom: + args.response.success(); + /* {_custom: {jobId: jid, getUpdatedItem: function(json) { return json.queryasyncjobresultresponse.jobresult.virtualmachine; @@ -1258,8 +1258,8 @@ return vmActionfilter; } } - } - ); + } */ + }, error:function(json){ args.response.error(parseXMLHttpResponse(json));