CLOUDSTACK-9192: UpdateVpnCustomerGateway is failing

The response name was wrong so corrected it.
Added the error function.
This commit is contained in:
Nitin Kumar Maharana 2015-12-21 16:04:17 +05:30
parent d6815742b8
commit 116b2b691f

View File

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