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)); } }); },