Updated Branches: refs/heads/ui-vpc-redesign b11c44f91 -> a0e75c12c
CLOUDSTACK-747: internal LB in VPC - fix a bug that Source IP Address column was not filled after Add Internal LB action was complete. Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/a0e75c12 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/a0e75c12 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/a0e75c12 Branch: refs/heads/ui-vpc-redesign Commit: a0e75c12cd62541f750e9ff556d7b570483dbf72 Parents: b11c44f Author: Jessica Wang <[email protected]> Authored: Wed May 22 11:18:26 2013 -0700 Committer: Jessica Wang <[email protected]> Committed: Wed May 22 11:21:20 2013 -0700 ---------------------------------------------------------------------- ui/scripts/vpc.js | 13 +++---------- 1 files changed, 3 insertions(+), 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a0e75c12/ui/scripts/vpc.js ---------------------------------------------------------------------- diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js index be7fdd7..f334735 100644 --- a/ui/scripts/vpc.js +++ b/ui/scripts/vpc.js @@ -410,8 +410,8 @@ args.response.success( {_custom: {jobId: jid, - getUpdatedItem: function(json) { - return json.queryasyncjobresultresponse.jobresult.loadbalancerrule; + getUpdatedItem: function(json) { + return json.queryasyncjobresultresponse.jobresult.loadbalancer; } } } @@ -422,14 +422,7 @@ args.response.success(); }, notification: { - poll: function(args) { - args.complete({ - data: { - ipaddress: '10.0.3.2', - type: 'Internal' - } - }); - } + poll: pollAsyncJobResult } } },
