You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by je...@apache.org on 2012/08/09 23:30:42 UTC
git commit: CS-15801: cloudstack 3.0 UI - VPC - create new tier - fix
an error "Owner of vpc with specified vpcId is different from the network
owner Acct[2-admin]".
Updated Branches:
refs/heads/vpc 695f727cf -> ed28accdf
CS-15801: cloudstack 3.0 UI - VPC - create new tier - fix an error "Owner of vpc with specified vpcId is different from the network owner Acct[2-admin]".
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/ed28accd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/ed28accd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/ed28accd
Branch: refs/heads/vpc
Commit: ed28accdf09d933e7651401cd7283104f0b1498e
Parents: 695f727
Author: Jessica Wang <je...@citrix.com>
Authored: Thu Aug 9 14:27:22 2012 -0700
Committer: Jessica Wang <je...@citrix.com>
Committed: Thu Aug 9 14:30:07 2012 -0700
----------------------------------------------------------------------
ui/scripts/vpc.js | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/ed28accd/ui/scripts/vpc.js
----------------------------------------------------------------------
diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js
index 9c6e2d6..064e073 100644
--- a/ui/scripts/vpc.js
+++ b/ui/scripts/vpc.js
@@ -1845,9 +1845,11 @@
}
},
action: function(args) {
- var dataObj = {
- vpcid: args.context.vpc[0].id,
+ var dataObj = {
zoneId: args.context.vpc[0].zoneid,
+ vpcid: args.context.vpc[0].id,
+ domainid: args.context.vpc[0].domainid,
+ account: args.context.vpc[0].account,
networkOfferingId: args.data.networkOfferingId,
name: args.data.name,
displayText: args.data.name,