mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - VM Wizard - remove obsolete variable(myNetworks), rename variable sharedNetworks to networkObjs.
This commit is contained in:
parent
bfdec24de4
commit
ff5477d1f1
@ -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: []
|
||||
|
||||
@ -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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user