cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pran...@apache.org
Subject [40/50] git commit: updated refs/heads/master to b03e419
Date Tue, 28 May 2013 07:59:25 GMT
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/master
Commit: d515602873b7cd0810ce602b274e5b4e57bebd0b
Parents: 9071456
Author: Jessica Wang <jessicawang@apache.org>
Authored: Thu May 23 10:39:32 2013 -0700
Committer: Jessica Wang <jessicawang@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 {


Mime
View raw message