mirror of https://github.com/apache/cloudstack.git
CS-13535: Error handling for add domain operation
Original patch by: olga.smola reviewed-by: jessica, r5583
This commit is contained in:
parent
af1d5d00f7
commit
6015df9137
|
|
@ -172,6 +172,10 @@
|
|||
success: function(json) {
|
||||
var item = json.createdomainresponse.domain;
|
||||
args.response.success({data: item});
|
||||
},
|
||||
error: function(XMLHttpResponse) {
|
||||
var errorMsg = parseXMLHttpResponse(XMLHttpResponse);
|
||||
args.response.error(errorMsg);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue