scaleUp VM response change corresponding UI changes
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/e6ae66d5 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/e6ae66d5 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/e6ae66d5 Branch: refs/heads/ui-cisco-asa1000v-support Commit: e6ae66d596cda320329b4a481b81bd7be981058b Parents: 63fbdbb Author: Pranav Saxena <pranav.sax...@citrix.com> Authored: Mon May 6 14:08:40 2013 +0530 Committer: Pranav Saxena <pranav.sax...@citrix.com> Committed: Mon May 6 14:08:40 2013 +0530 ---------------------------------------------------------------------- ui/scripts/instances.js | 2 +- ui/scripts/system.js | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e6ae66d5/ui/scripts/instances.js ---------------------------------------------------------------------- diff --git a/ui/scripts/instances.js b/ui/scripts/instances.js index 27ad599..e5d7d14 100644 --- a/ui/scripts/instances.js +++ b/ui/scripts/instances.js @@ -1247,7 +1247,7 @@ dataType: "json", async: true, success: function(json) { - var jid = json.scalevirtualmachineresponse.jobid; + // var jid = json.scalevirtualmachineresponse.jobid; args.response.success(); /* {_custom: {jobId: jid, http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e6ae66d5/ui/scripts/system.js ---------------------------------------------------------------------- diff --git a/ui/scripts/system.js b/ui/scripts/system.js index f2017cd..dc09ea8 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -5421,9 +5421,9 @@ 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; @@ -5433,8 +5433,8 @@ } } - } - ); + } */ + }, error:function(json){ args.response.error(parseXMLHttpResponse(json)); @@ -6305,9 +6305,9 @@ 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; @@ -6316,8 +6316,8 @@ return vmActionfilter; } } - } - ); + }*/ + }, error:function(json){ args.response.error(parseXMLHttpResponse(json));