mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK UI - VPC - site-to-site VPN - VPN connection - fix a JS error "elems is undefined" when clicking Create VPN Connection.
This commit is contained in:
parent
9071456596
commit
d515602873
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue