From 8ff565860942d9caeec574fda352b0ab6b67c5bb Mon Sep 17 00:00:00 2001 From: Pranav Saxena Date: Wed, 19 Jun 2013 16:27:13 +0530 Subject: [PATCH] CLOUDSTACK-3056:Intelligence mechanism on the UI in case of addVmwareDC API call failure --- ui/scripts/zoneWizard.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ui/scripts/zoneWizard.js b/ui/scripts/zoneWizard.js index 046b12210ac..1cd8d5e90d4 100755 --- a/ui/scripts/zoneWizard.js +++ b/ui/scripts/zoneWizard.js @@ -3394,7 +3394,13 @@ } }); } - } + }, + error:function(XMLHttpResponse){ + var errorMsg = parseXMLHttpResponse(XMLHttpResponse); + error('addCluster', errorMsg, { fn: 'addCluster', args: args }); + + } + }); } else{