You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ah...@apache.org on 2012/08/15 21:58:27 UTC

[5/10] git commit: CS-15976:when vpc fails to create, UI keeps on showing that the creation is in progress

CS-15976:when vpc fails to create, UI keeps on showing that the creation is in progress


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

Branch: refs/heads/asf-4.0
Commit: b9239bf73affa576f2d7a462a0cc69768c197248
Parents: 3888ae6
Author: Pranav Saxena <pr...@citrix.com>
Authored: Tue Aug 14 17:24:07 2012 +0530
Committer: Alex Huang <al...@citrix.com>
Committed: Wed Aug 15 12:54:59 2012 -0700

----------------------------------------------------------------------
 ui/scripts/network.js |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/b9239bf7/ui/scripts/network.js
----------------------------------------------------------------------
diff --git a/ui/scripts/network.js b/ui/scripts/network.js
index b5ee5fe..ba98d57 100644
--- a/ui/scripts/network.js
+++ b/ui/scripts/network.js
@@ -3672,9 +3672,11 @@
                             return json.queryasyncjobresultresponse.jobresult.vpc;
                           }
                         }
-                      }
-                    );
-                  }
+                      });
+                  },
+                  error: function(data) {
+                      args.response.error(parseXMLHttpResponse(data));
+                    }
                 });								
               },