From eb4e09ec581edc2618404380f56681d143115698 Mon Sep 17 00:00:00 2001 From: Mice Xia Date: Wed, 22 Aug 2012 18:05:34 +0800 Subject: [PATCH] CS-16048 Failled to assign VLAN to storage network in zoneWizard --- ui/scripts/zoneWizard.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/scripts/zoneWizard.js b/ui/scripts/zoneWizard.js index 3083c84263f..8877497e270 100644 --- a/ui/scripts/zoneWizard.js +++ b/ui/scripts/zoneWizard.js @@ -2479,7 +2479,8 @@ $(storageIPRanges).each(function() { var item = this; - + if('vlan' in item && (item.vlan == null || item.vlan.length == 0)) + delete item.vlan; $.ajax({ url: createURL('createStorageNetworkIpRange'), data: $.extend(true, {}, item, {