From 116b2b691ffe73037165507144e7dd7eee150623 Mon Sep 17 00:00:00 2001 From: Nitin Kumar Maharana Date: Mon, 21 Dec 2015 16:04:17 +0530 Subject: [PATCH] CLOUDSTACK-9192: UpdateVpnCustomerGateway is failing The response name was wrong so corrected it. Added the error function. --- ui/scripts/network.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/scripts/network.js b/ui/scripts/network.js index 2831aa00099..393f440dec7 100755 --- a/ui/scripts/network.js +++ b/ui/scripts/network.js @@ -6219,7 +6219,7 @@ url: createURL('updateVpnCustomerGateway'), data: data, success: function(json) { - var jobId = json.updatecustomergatewayresponse.jobid; + var jobId = json.updatevpncustomergatewayresponse.jobid; args.response.success({ _custom: { jobId: jobId, @@ -6231,6 +6231,9 @@ } } }); + }, + error: function(json) { + args.response.error(parseXMLHttpResponse(json)); } }); },