incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From olgasmola <olya.sm...@gmail.com>
Subject [PATCH] CS-13535: UI fix when Add Domain operation failed.
Date Thu, 01 Jan 1970 00:00:00 GMT
---
 ui/scripts/domains.js |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ui/scripts/domains.js b/ui/scripts/domains.js
index 9179b42..7547ec1 100644
--- a/ui/scripts/domains.js
+++ b/ui/scripts/domains.js
@@ -168,6 +168,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);
                 }
               });
             },
-- 
1.7.10.msysgit.1




Mime
View raw message