Updated Branches:
  refs/heads/ui-vpc-redesign 907145659 -> d51560287

CLOUDSTACK UI - VPC - site-to-site VPN - VPN connection - fix a JS error "elems 
is undefined" when clicking Create VPN Connection.


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

Branch: refs/heads/ui-vpc-redesign
Commit: d515602873b7cd0810ce602b274e5b4e57bebd0b
Parents: 9071456
Author: Jessica Wang <jessicaw...@apache.org>
Authored: Thu May 23 10:39:32 2013 -0700
Committer: Jessica Wang <jessicaw...@apache.org>
Committed: Thu May 23 10:39:32 2013 -0700

----------------------------------------------------------------------
 ui/scripts/vpc.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d5156028/ui/scripts/vpc.js
----------------------------------------------------------------------
diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js
index fa0ed92..923c510 100644
--- a/ui/scripts/vpc.js
+++ b/ui/scripts/vpc.js
@@ -2060,7 +2060,7 @@
                                                                                
                                listAll: true
                                                                                
                        },
                                                                                
                        success: function(json) {
-                                                                               
                                var items = 
json.listvpncustomergatewaysresponse.vpncustomergateway;
+                                                                               
                                var items = 
json.listvpncustomergatewaysresponse.vpncustomergateway ? 
json.listvpncustomergatewaysresponse.vpncustomergateway: [];
                                                                                
                                args.response.success({
                                                                                
                                  data: $.map(items, function(item) {
                                 return {

Reply via email to