From c68325deb189ebcd79f229d0db25d0cfe842f0dc Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Mon, 8 Sep 2014 10:54:02 +0200 Subject: [PATCH] CLOUDSTACK-6624: set specifyIpRanges to true if specifyVlan is set to true Signed-off-by: Rohit Yadav (cherry picked from commit b7b9cd0d2d0dc9973e65c99ade3f550c6dd8dcd7) Signed-off-by: Rohit Yadav Conflicts: ui/scripts/configuration.js --- ui/scripts/configuration.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/scripts/configuration.js b/ui/scripts/configuration.js index e37ae4e86ce..a70c672bf2e 100644 --- a/ui/scripts/configuration.js +++ b/ui/scripts/configuration.js @@ -3081,6 +3081,7 @@ if (inputData['specifyVlan'] == 'on') { //specifyVlan checkbox is checked inputData['specifyVlan'] = true; + inputData['specifyIpRanges'] = 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) }