From aebf033358551551870b0f02cacdb210adf04735 Mon Sep 17 00:00:00 2001 From: Mice Xia Date: Tue, 14 Aug 2012 13:42:40 +0800 Subject: [PATCH] Fix a bug: zoneWizard uses incorrect vlan parameter to create storage network --- ui/scripts/ui-custom/zoneWizard.js | 2 +- ui/scripts/zoneWizard.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/scripts/ui-custom/zoneWizard.js b/ui/scripts/ui-custom/zoneWizard.js index 3f26cda53c3..c1e8f7cf0ef 100644 --- a/ui/scripts/ui-custom/zoneWizard.js +++ b/ui/scripts/ui-custom/zoneWizard.js @@ -127,7 +127,7 @@ var fields = [ 'gateway', 'netmask', - 'vlanid', + 'vlan', 'startip', 'endip' ]; diff --git a/ui/scripts/zoneWizard.js b/ui/scripts/zoneWizard.js index c3a2b4e013d..79ef423ccdb 100644 --- a/ui/scripts/zoneWizard.js +++ b/ui/scripts/zoneWizard.js @@ -157,7 +157,7 @@ fields: { 'gateway': { edit: true, label: 'label.gateway' }, 'netmask': { edit: true, label: 'label.netmask' }, - 'vlanid': { edit: true, label: 'label.vlan', isOptional: true }, + 'vlan': { edit: true, label: 'label.vlan', isOptional: true }, 'startip': { edit: true, label: 'label.start.IP' }, 'endip': { edit: true, label: 'label.end.IP' }, 'add-rule': { label: 'label.add', addButton: true }