CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - VM Wizard - remove obsolete variable(myNetworks), rename variable sharedNetworks to networkObjs.

This commit is contained in:
Jessica Wang 2013-01-21 15:53:29 -08:00
parent bfdec24de4
commit ff5477d1f1
2 changed files with 7 additions and 10 deletions

View File

@ -400,8 +400,7 @@
args.response.success({
type: 'select-network',
data: {
myNetworks: [], //not used any more
sharedNetworks: networkObjs,
networkObjs: networkObjs,
securityGroups: [],
networkOfferings: networkOfferingObjs,
vpcs: vpcObjs
@ -433,8 +432,7 @@
args.response.success({
type: 'select-security-group',
data: {
myNetworks: [], //not used any more
sharedNetworks: [],
networkObjs: [],
securityGroups: securityGroupArray,
networkOfferings: [],
vpcs: []
@ -446,8 +444,7 @@
args.response.success({
type: 'nothing-to-select',
data: {
myNetworks: [], //not used any more
sharedNetworks: [],
networkObjs: [],
securityGroups: [],
networkOfferings: [],
vpcs: []

View File

@ -636,7 +636,7 @@
// My networks
$step.find('.my-networks .select-container').append(
makeSelects('my-networks', $.merge(args.data.myNetworks, args.data.sharedNetworks), {
makeSelects('my-networks', args.data.networkObjs, {
name: 'name',
desc: 'type',
id: 'id'