Updated Branches:
  refs/heads/master-6-17-stable 40d3b713c -> 8ff565860


CLOUDSTACK-3056:Intelligence mechanism on the UI in case of addVmwareDC API 
call failure


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/8ff56586
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/8ff56586
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/8ff56586

Branch: refs/heads/master-6-17-stable
Commit: 8ff565860942d9caeec574fda352b0ab6b67c5bb
Parents: 40d3b71
Author: Pranav Saxena <pranav.sax...@citrix.com>
Authored: Wed Jun 19 16:27:13 2013 +0530
Committer: Pranav Saxena <pranav.sax...@citrix.com>
Committed: Wed Jun 19 16:27:13 2013 +0530

----------------------------------------------------------------------
 ui/scripts/zoneWizard.js | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8ff56586/ui/scripts/zoneWizard.js
----------------------------------------------------------------------
diff --git a/ui/scripts/zoneWizard.js b/ui/scripts/zoneWizard.js
index 046b122..1cd8d5e 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{

Reply via email to