You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by mi...@apache.org on 2012/08/22 12:16:02 UTC
git commit: CS-16048 Failled to assign VLAN to storage network in
zoneWizard
Updated Branches:
refs/heads/master b42a813ff -> eb4e09ec5
CS-16048 Failled to assign VLAN to storage network in zoneWizard
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/eb4e09ec
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/eb4e09ec
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/eb4e09ec
Branch: refs/heads/master
Commit: eb4e09ec581edc2618404380f56681d143115698
Parents: b42a813
Author: Mice Xia <mi...@apache.org>
Authored: Wed Aug 22 18:05:34 2012 +0800
Committer: Mice Xia <mi...@apache.org>
Committed: Wed Aug 22 18:06:03 2012 +0800
----------------------------------------------------------------------
ui/scripts/zoneWizard.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/eb4e09ec/ui/scripts/zoneWizard.js
----------------------------------------------------------------------
diff --git a/ui/scripts/zoneWizard.js b/ui/scripts/zoneWizard.js
index 3083c84..8877497 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, {