You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by je...@apache.org on 2014/11/18 22:52:13 UTC

git commit: updated refs/heads/master to 880ab43

Repository: cloudstack
Updated Branches:
  refs/heads/master 0e2299d93 -> 880ab4392


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.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/880ab439
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/880ab439
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/880ab439

Branch: refs/heads/master
Commit: 880ab4392dd251c87af60660f623f9f07ee17c03
Parents: 0e2299d
Author: Jessica Wang <je...@apache.org>
Authored: Tue Nov 18 13:50:13 2014 -0800
Committer: Jessica Wang <je...@apache.org>
Committed: Tue Nov 18 13:52:01 2014 -0800

----------------------------------------------------------------------
 ui/scripts/configuration.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/880ab439/ui/scripts/configuration.js
----------------------------------------------------------------------
diff --git a/ui/scripts/configuration.js b/ui/scripts/configuration.js
index c2d00ec..763d86b 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)                                        
                                     }