From 2c1d33d085ec46668c8c5a0bce87e2033181d166 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Thu, 9 Aug 2012 14:27:22 -0700 Subject: [PATCH] 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]". --- ui/scripts/vpc.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js index d2ec14260c9..0c99c4179b1 100644 --- a/ui/scripts/vpc.js +++ b/ui/scripts/vpc.js @@ -1839,9 +1839,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,