From f7ffe916cd54cfa95266591d0d481e5c74f7c4e4 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Thu, 18 Nov 2010 16:36:06 -0800 Subject: [PATCH] bug 7212: IP address - load balancer tab - show error in dialog box when creating load balancer rule fails. --- ui/scripts/cloud.core.ipaddress.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/scripts/cloud.core.ipaddress.js b/ui/scripts/cloud.core.ipaddress.js index 3c08032feba..1fc5590edf4 100644 --- a/ui/scripts/cloud.core.ipaddress.js +++ b/ui/scripts/cloud.core.ipaddress.js @@ -188,6 +188,8 @@ function afterLoadIpJSP() { $template.slideUp("slow", function() { $(this).remove(); }); + var errorMsg = parseXMLHttpResponse(XMLHttpResponse); + $("#dialog_error").text(fromdb(errorMsg)).dialog("open"); }); } });