mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-9192: UpdateVpnCustomerGateway is failing
The response name was wrong so corrected it. Added the error function.
This commit is contained in:
parent
d6815742b8
commit
116b2b691f
|
|
@ -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));
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue