Updated Branches:
  refs/heads/master b91978545 -> ffcd693af

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/ffcd693a
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/ffcd693a
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/ffcd693a

Branch: refs/heads/master
Commit: ffcd693afd4d2240a7d59122b3bbf8d298a3b1dd
Parents: b919785
Author: Pranav Saxena <pranav.sax...@citrix.com>
Authored: Wed Jun 19 16:30:48 2013 +0530
Committer: Pranav Saxena <pranav.sax...@citrix.com>
Committed: Wed Jun 19 16:30:48 2013 +0530

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ffcd693a/ui/scripts/zoneWizard.js
----------------------------------------------------------------------
diff --git a/ui/scripts/zoneWizard.js b/ui/scripts/zoneWizard.js
index 046b122..84d19e8 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