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 23:14:09 UTC

[16/20] 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/158d41a6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/158d41a6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/158d41a6

Branch: refs/heads/4.0
Commit: 158d41a6cf53ea13fc78dbaa134aea30b7f07aaf
Parents: 5657412
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 14:05:33 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/158d41a6/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));
+                    }
                 });								
               },