Repository: cloudstack
Updated Branches:
  refs/heads/4.4 ecfe5b541 -> b7b9cd0d2


CLOUDSTACK-6624: set specifyIpRanges to true if specifyVlan is set to true

Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com>


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

Branch: refs/heads/4.4
Commit: b7b9cd0d2d0dc9973e65c99ade3f550c6dd8dcd7
Parents: ecfe5b5
Author: Rohit Yadav <rohit.ya...@shapeblue.com>
Authored: Mon Sep 8 10:54:02 2014 +0200
Committer: Rohit Yadav <rohit.ya...@shapeblue.com>
Committed: Mon Sep 8 10:54:02 2014 +0200

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b7b9cd0d/ui/scripts/configuration.js
----------------------------------------------------------------------
diff --git a/ui/scripts/configuration.js b/ui/scripts/configuration.js
index f56f4e2..aff6056 100644
--- a/ui/scripts/configuration.js
+++ b/ui/scripts/configuration.js
@@ -2907,6 +2907,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)                               
         
                                     }

Reply via email to