scale up virtual machine response change in the backend
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/b33b3167 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/b33b3167 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/b33b3167 Branch: refs/heads/ui-cisco-asa1000v-support Commit: b33b316755497df637e7e528b6ec1690f5ca9f01 Parents: 38f7e27 Author: Pranav Saxena <[email protected]> Authored: Sun May 5 12:02:32 2013 +0530 Committer: Pranav Saxena <[email protected]> Committed: Sun May 5 12:02:32 2013 +0530 ---------------------------------------------------------------------- ui/scripts/instances.js | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b33b3167/ui/scripts/instances.js ---------------------------------------------------------------------- diff --git a/ui/scripts/instances.js b/ui/scripts/instances.js index 1b89d4f..27ad599 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));
