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
@ -399,9 +399,8 @@
|
|||||||
|
|
||||||
args.response.success({
|
args.response.success({
|
||||||
type: 'select-network',
|
type: 'select-network',
|
||||||
data: {
|
data: {
|
||||||
myNetworks: [], //not used any more
|
networkObjs: networkObjs,
|
||||||
sharedNetworks: networkObjs,
|
|
||||||
securityGroups: [],
|
securityGroups: [],
|
||||||
networkOfferings: networkOfferingObjs,
|
networkOfferings: networkOfferingObjs,
|
||||||
vpcs: vpcObjs
|
vpcs: vpcObjs
|
||||||
@ -432,9 +431,8 @@
|
|||||||
});
|
});
|
||||||
args.response.success({
|
args.response.success({
|
||||||
type: 'select-security-group',
|
type: 'select-security-group',
|
||||||
data: {
|
data: {
|
||||||
myNetworks: [], //not used any more
|
networkObjs: [],
|
||||||
sharedNetworks: [],
|
|
||||||
securityGroups: securityGroupArray,
|
securityGroups: securityGroupArray,
|
||||||
networkOfferings: [],
|
networkOfferings: [],
|
||||||
vpcs: []
|
vpcs: []
|
||||||
@ -445,9 +443,8 @@
|
|||||||
else if(step5ContainerType == 'nothing-to-select') {
|
else if(step5ContainerType == 'nothing-to-select') {
|
||||||
args.response.success({
|
args.response.success({
|
||||||
type: 'nothing-to-select',
|
type: 'nothing-to-select',
|
||||||
data: {
|
data: {
|
||||||
myNetworks: [], //not used any more
|
networkObjs: [],
|
||||||
sharedNetworks: [],
|
|
||||||
securityGroups: [],
|
securityGroups: [],
|
||||||
networkOfferings: [],
|
networkOfferings: [],
|
||||||
vpcs: []
|
vpcs: []
|
||||||
|
|||||||
@ -636,7 +636,7 @@
|
|||||||
|
|
||||||
// My networks
|
// My networks
|
||||||
$step.find('.my-networks .select-container').append(
|
$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',
|
name: 'name',
|
||||||
desc: 'type',
|
desc: 'type',
|
||||||
id: 'id'
|
id: 'id'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user