From a4ebc31d9c6ca6d0a4778602280e84394737e139 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Tue, 18 Nov 2014 13:50:13 -0800 Subject: [PATCH] CLOUDSTACK-6624: UI > create network offering > cloudStack does NOT support specifyIpRanges for isolated network - fix a bug that wrongly sends "specifyIpRanges=true" to createNetworkOffering API. --- ui/scripts/configuration.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/scripts/configuration.js b/ui/scripts/configuration.js index 2a9829d47be..76c04cd8787 100644 --- a/ui/scripts/configuration.js +++ b/ui/scripts/configuration.js @@ -3092,8 +3092,7 @@ delete inputData.specifyIpRanges; //if specifyIpRanges should be false, do not pass specifyIpRanges parameter to API call since we need to keep API call's size as small as possible (p.s. specifyIpRanges is defaulted as false at server-side) if (inputData['specifyVlan'] == 'on') { //specifyVlan checkbox is checked - inputData['specifyVlan'] = true; - inputData['specifyIpRanges'] = true; + inputData['specifyVlan'] = true; } else { //specifyVlan checkbox is unchecked delete inputData.specifyVlan; //if specifyVlan checkbox is unchecked, do not pass specifyVlan parameter to API call since we need to keep API call's size as small as possible (p.s. specifyVlan is defaulted as false at server-side) }