CS-13535: Error handling for add domain operation

Original patch by: olga.smola
reviewed-by: jessica, r5583
This commit is contained in:
bfederle 2012-06-27 16:20:30 -07:00
parent af1d5d00f7
commit 6015df9137

View File

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