cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kelv...@apache.org
Subject [38/50] [abbrv] git commit: updated refs/heads/vmsync to 2ee8fd2
Date Tue, 09 Apr 2013 21:42:26 GMT
CLOUDSTACK-1893:[AWS Style Health Checks] UI hangs when one tries to create health check policy
on a LB rule with VR as LB service provider


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

Branch: refs/heads/vmsync
Commit: c51587396adc1e179eec8a84569d2d7221380d00
Parents: 8a435f5
Author: Pranav Saxena <pranav.saxena@citrix.com>
Authored: Tue Apr 9 13:51:33 2013 +0530
Committer: Pranav Saxena <pranav.saxena@citrix.com>
Committed: Tue Apr 9 13:51:33 2013 +0530

----------------------------------------------------------------------
 ui/scripts/ui-custom/healthCheck.js |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c5158739/ui/scripts/ui-custom/healthCheck.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui-custom/healthCheck.js b/ui/scripts/ui-custom/healthCheck.js
index ebb7e5a..4b42fa7 100644
--- a/ui/scripts/ui-custom/healthCheck.js
+++ b/ui/scripts/ui-custom/healthCheck.js
@@ -164,7 +164,15 @@
 											}
 										});										
 									}, g_queryAsyncJobResultInterval); 										
-								}
+								},
+                                                           
+                                                               error:function(json){
+
+                                                                  cloudStack.dialog.notice({message:
_s(json.responseText)}); //Error message in the API needs to be improved
+                                                                  $healthCheckDialog.dialog('close');
+                                                                  $('.overlay').remove();
+                                                              }
+
 							});
             }
           }					


Mime
View raw message