Updated Branches:
  refs/heads/master 7e591a442 -> 21904cf33

UI, add network offering: Disable VPC virtual router by default

reviewed-by: jessica


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

Branch: refs/heads/master
Commit: 21904cf33b2a2a0d03b9ae805704bcfd41d5b21c
Parents: 7e591a4
Author: Brian Federle <[email protected]>
Authored: Mon Aug 27 15:31:39 2012 -0700
Committer: Brian Federle <[email protected]>
Committed: Mon Aug 27 15:32:24 2012 -0700

----------------------------------------------------------------------
 ui/scripts/configuration.js |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/21904cf3/ui/scripts/configuration.js
----------------------------------------------------------------------
diff --git a/ui/scripts/configuration.js b/ui/scripts/configuration.js
index 754a7b4..94247c4 100644
--- a/ui/scripts/configuration.js
+++ b/ui/scripts/configuration.js
@@ -1360,6 +1360,9 @@
                                                                                
                                                        args.response.success({
                                                                                
                                                                data: items
                                                                                
                                                        });
+
+                                  // Disable VPC virtual router by default
+                                  
args.$select.find('option[value=VpcVirtualRouter]').attr('disabled', true);
                                                                                
                                                                                
                                                                                
                                                                                
                                                                        
                                                                                
                                                        
args.$select.change(function() {                
                                     var $thisProviderDropdown = $(this);       
                                                                                
                                                

Reply via email to