diff --git a/src/main/webapp/WEB-INF/views/specific/specificServiceHostCfgForm.jsp b/src/main/webapp/WEB-INF/views/specific/specificServiceHostCfgForm.jsp index 7dfb4251e..89d3c70c1 100644 --- a/src/main/webapp/WEB-INF/views/specific/specificServiceHostCfgForm.jsp +++ b/src/main/webapp/WEB-INF/views/specific/specificServiceHostCfgForm.jsp @@ -53,7 +53,7 @@ function selectP(){ form.submit(); }, errorContainer : "#messageBox", - errorPlacement : function(error, element) { + /* errorPlacement : function(error, element) { $("#messageBox").text(""); if (element.is(":checkbox") || element.is(":radio") @@ -64,6 +64,9 @@ function selectP(){ } else { error.insertAfter(element); } + } */ + errorPlacement: function(error,element){ + $(element).parents(".form-group").find("div[for='"+element.attr("name")+"']").append(error); } }); }); @@ -109,28 +112,30 @@ function selectP(){
- +
+
-
+
- +
- + +
@@ -141,12 +146,13 @@ function selectP(){
- + +
@@ -186,6 +192,7 @@ function selectP(){
+
@@ -213,6 +220,7 @@ function selectP(){
+