diff --git a/ui/jsp/resource.jsp b/ui/jsp/resource.jsp index b9215f0cb8f..3ef85ee2821 100644 --- a/ui/jsp/resource.jsp +++ b/ui/jsp/resource.jsp @@ -123,7 +123,7 @@
You have successfully added your first Zone and Pod. After clicking 'OK', this UI will automatically refresh to give you access to the rest of cloud features.
") + .dialog('option', 'buttons', { + "OK": function() { + window.location.reload(); + } + }).dialog("open"); + } + }, + error: function(XMLHttpResponse) { + handleError(XMLHttpResponse, function() { + handleErrorInDialog(XMLHttpResponse, $thisWizard); + }); + } + }); + } + + var afterActionMsg = ""; + if(addZoneSuccessful = true) + afterActionMsg += "Zone was adding successfully