@@ -275,12 +275,12 @@
|
|
|
-
|
+ <%--
|
|
|
|
|
-
|
+
| --%>
|
|
|
@@ -315,7 +315,7 @@
-
+ <%-- |
@@ -388,7 +388,7 @@
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fns:abbr(lableInfo,20)}
- |
+ --%>
diff --git a/src/main/webapp/WEB-INF/views/cfg/app/appDomainCfgForm.jsp b/src/main/webapp/WEB-INF/views/cfg/app/appDomainCfgForm.jsp
index 1ef3e48c7..59d8db5fe 100644
--- a/src/main/webapp/WEB-INF/views/cfg/app/appDomainCfgForm.jsp
+++ b/src/main/webapp/WEB-INF/views/cfg/app/appDomainCfgForm.jsp
@@ -29,7 +29,6 @@ $(function(){
+ $(this).attr("name")
+ "']").html("");
flag = false;
- return;
}
})
if(flag){
@@ -37,6 +36,8 @@ $(function(){
$("#appCode").val($("#specServiceIdId").val());
loading('onloading...');
form.submit();
+ }else{
+ return;
}
},
errorContainer: "#messageBox",
@@ -103,7 +104,7 @@ $(function(){
-
@@ -113,7 +114,7 @@ $(function(){
-
+
@@ -189,27 +205,11 @@ $(function(){
-
- <%@include file="/WEB-INF/include/form/areaInfo.jsp" %>
- <%@include file="/WEB-INF/include/form/basicInfo.jsp" %>
+
+ <%-- <%@include file="/WEB-INF/include/form/areaInfo.jsp" %> --%>
+
+ <%-- <%@include file="/WEB-INF/include/form/basicInfo.jsp" %> --%>
|
-
+ <%-- |
@@ -388,7 +388,7 @@
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fns:abbr(lableInfo,20)}
- |
+ --%>
diff --git a/src/main/webapp/WEB-INF/views/cfg/app/appHttpCfgForm.jsp b/src/main/webapp/WEB-INF/views/cfg/app/appHttpCfgForm.jsp
index bb9e03705..bd3dbc6df 100644
--- a/src/main/webapp/WEB-INF/views/cfg/app/appHttpCfgForm.jsp
+++ b/src/main/webapp/WEB-INF/views/cfg/app/appHttpCfgForm.jsp
@@ -29,14 +29,28 @@ $(function(){
+ $(this).attr("name")
+ "']").html("");
flag = false;
- return;
}
})
+ /* $("select[name$='isHexbin']").each(function(){
+ var isHexbin=$(this).val();
+ if(isHexbin == 1){
+ var keywords=$("input[name$='"+$(this).attr("name").replace("isHexbin","cfgKeywords")+"']").val();
+ if(!(/^([0-9|a-f|A-F]*)$/.test(keywords))){
+ $(this).parents(".form-group").find(
+ "div[for='"
+ + $(this).attr("name").replace("isHexbin","cfgKeywords")
+ + "']").html("");
+ flag = false;
+ }
+ }
+ }); */
if(flag){
$("input[name$='exprType']").attr("disabled",false);
$("#appCode").val($("#specServiceIdId").val());
loading('onloading...');
form.submit();
+ }else{
+ return;
}
},
errorContainer: "#messageBox",
@@ -45,7 +59,8 @@ $(function(){
-
+
+
-
+
- <%@include file="/WEB-INF/include/form/areaInfo.jsp" %>
- <%@include file="/WEB-INF/include/form/basicInfo.jsp" %>
+
+ <%-- <%@include file="/WEB-INF/include/form/areaInfo.jsp" %> --%>
+
+ <%-- <%@include file="/WEB-INF/include/form/basicInfo.jsp" %> --%>
|
-
+ <%-- |
@@ -395,7 +395,7 @@
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fns:abbr(lableInfo,20)}
- |
+ --%>
diff --git a/src/main/webapp/WEB-INF/views/cfg/app/appIpCfgForm.jsp b/src/main/webapp/WEB-INF/views/cfg/app/appIpCfgForm.jsp
index 4fc2d3e96..a1ee5cfe3 100644
--- a/src/main/webapp/WEB-INF/views/cfg/app/appIpCfgForm.jsp
+++ b/src/main/webapp/WEB-INF/views/cfg/app/appIpCfgForm.jsp
@@ -176,7 +176,7 @@ $(function(){
-
+
@@ -203,8 +203,10 @@ $(function(){
- <%@include file="/WEB-INF/include/form/areaInfo.jsp" %>
- <%@include file="/WEB-INF/include/form/basicInfo.jsp" %>
+
+ <%-- <%@include file="/WEB-INF/include/form/areaInfo.jsp" %> --%>
+
+ <%-- <%@include file="/WEB-INF/include/form/basicInfo.jsp" %> --%>
|
-
+ <%-- |
- |
-
+ | --%>
+ <%--
- |
-
${cfg.requestName } |
+ --%>
+ <%--
${cfg.requestName } |
@@ -393,7 +393,7 @@
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fns:abbr(lableInfo,20)}
- |
+ --%>
diff --git a/src/main/webapp/static/global/scripts/common.js b/src/main/webapp/static/global/scripts/common.js
index 5300667e8..547283758 100644
--- a/src/main/webapp/static/global/scripts/common.js
+++ b/src/main/webapp/static/global/scripts/common.js
@@ -432,8 +432,10 @@ window.onload=function(){
var addHexCheck=function(obj,isHexbin){
if(isHexbin == 1){ //十六进制
$(obj).parent().parent().parent().parent().parent().parent().find("input[name$='cfgKeywords']").addClass("hexCheck");
+ $(obj).parent().parent().parent().parent().parent().parent().find("input[name$='domain']").addClass("hexCheck");
}else{
$(obj).parent().parent().parent().parent().parent().parent().find("input[name$='cfgKeywords']").removeClass("hexCheck");
+ $(obj).parent().parent().parent().parent().parent().parent().find("input[name$='domain']").removeClass("hexCheck");
}
}
//与表达式时,只允许为子串匹配
|