diff --git a/src/main/webapp/WEB-INF/views/cfg/av/contUrl/contUrlForm.jsp b/src/main/webapp/WEB-INF/views/cfg/av/contUrl/contUrlForm.jsp index 0c105a652..0fccd3226 100644 --- a/src/main/webapp/WEB-INF/views/cfg/av/contUrl/contUrlForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/av/contUrl/contUrlForm.jsp @@ -42,7 +42,7 @@ submitHandler : function(form) { var flag = true; //存在隐藏的subscribeId,不算进域配置 - if($(".boxSolid[class~='subscribeId']").length>0){ + /* if($(".boxSolid[class~='subscribeId']").length>0){ if($(".boxSolid.hidden[class~='subscribeId']").is(":hidden")){ if(($(".boxSolid").length) == ($(".boxSolid.hidden").length)){ top.$.jBox.tip("", ""); @@ -57,10 +57,11 @@ } //代表所有业务都隐藏了,提示必须增加一种业务数据 }else{ - if(($(".boxSolid").length) == ($(".boxSolid.hidden").length)){ - top.$.jBox.tip("", ""); - return; - } + + } */ + if(($(".boxSolid").length) == ($(".boxSolid.hidden").length)){ + top.$.jBox.tip("", ""); + return; } //代表所有区域都隐藏了,提示必须增加个区域信息 if($("input[name='isAreaEffective']:checked").val()==1 && $(".container-fluid:visible").size()==0){ diff --git a/src/main/webapp/WEB-INF/views/cfg/av/voip/voipForm.jsp b/src/main/webapp/WEB-INF/views/cfg/av/voip/voipForm.jsp index e835c98ce..1eced3ceb 100644 --- a/src/main/webapp/WEB-INF/views/cfg/av/voip/voipForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/av/voip/voipForm.jsp @@ -42,7 +42,7 @@ submitHandler : function(form) { var flag = true; //存在隐藏的subscribeId,不算进域配置 - if($(".boxSolid[class~='subscribeId']").length>0){ + /* if($(".boxSolid[class~='subscribeId']").length>0){ if($(".boxSolid.hidden[class~='subscribeId']").is(":hidden")){ if(($(".boxSolid").length) == ($(".boxSolid.hidden").length)){ top.$.jBox.tip("", ""); @@ -57,10 +57,12 @@ } //代表所有业务都隐藏了,提示必须增加一种业务数据 }else{ - if(($(".boxSolid").length) == ($(".boxSolid.hidden").length)){ - top.$.jBox.tip("", ""); - return; - } + + } */ + + if(($(".boxSolid").length) == ($(".boxSolid.hidden").length)){ + top.$.jBox.tip("", ""); + return; } //代表所有区域都隐藏了,提示必须增加个区域信息 if($("input[name='isAreaEffective']:checked").val()==1 && $(".container-fluid:visible").size()==0){ diff --git a/src/main/webapp/WEB-INF/views/cfg/fileTransfer/ftpForm.jsp b/src/main/webapp/WEB-INF/views/cfg/fileTransfer/ftpForm.jsp index 08ec2ebd3..3e570b8d6 100644 --- a/src/main/webapp/WEB-INF/views/cfg/fileTransfer/ftpForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/fileTransfer/ftpForm.jsp @@ -51,7 +51,7 @@ submitHandler : function(form) { var flag = true; - var subscribeId=0; + /* var subscribeId=0; //存在隐藏的subscribeId,不算进域配置 if($(".boxSolid.hidden").hasClass("subscribeId")){ subscribeId=1; @@ -59,12 +59,12 @@ var boxSolidLenth=$(".boxSolid").length; if($(".boxSolid").hasClass("subscribeId")){ boxSolidLenth=boxSolidLenth-1; - } + } */ //代表所有业务都隐藏了,提示必须增加一种业务数据 - if(boxSolidLenth == ($(".boxSolid.hidden").length-subscribeId)){ + if(boxSolidLenth == ($(".boxSolid.hidden").length)){ top.$.jBox.tip("", ""); return; - } + } //代表所有区域都隐藏了,提示必须增加个区域信息 if($("input[name='isAreaEffective']:checked").val()==1 && $(".container-fluid:visible").size()==0){ if($("#areaIsp").hasClass("hidden")) $("#areaIp").find(".glyphicon-plus").click(); diff --git a/src/main/webapp/WEB-INF/views/cfg/fileTransfer/p2pForm.jsp b/src/main/webapp/WEB-INF/views/cfg/fileTransfer/p2pForm.jsp index 755380351..304d25084 100644 --- a/src/main/webapp/WEB-INF/views/cfg/fileTransfer/p2pForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/fileTransfer/p2pForm.jsp @@ -28,20 +28,20 @@ submitHandler : function(form) { var flag = true; - var subscribeId=0; + /* var subscribeId=0; //存在隐藏的subscribeId,不算进域配置 if($(".boxSolid.hidden").hasClass("subscribeId")){ subscribeId=1; - } + } */ var boxSolidLenth=$(".boxSolid").length; - if($(".boxSolid").hasClass("subscribeId")){ + /* if($(".boxSolid").hasClass("subscribeId")){ boxSolidLenth=boxSolidLenth-1; - } + } */ //代表所有业务都隐藏了,提示必须增加一种业务数据 - if(boxSolidLenth == ($(".boxSolid.hidden").length-subscribeId)){ + if(boxSolidLenth == ($(".boxSolid.hidden").length)){ top.$.jBox.tip("", ""); return; - } + } //代表所有区域都隐藏了,提示必须增加个区域信息 if($("input[name='isAreaEffective']:checked").val()==1 && $(".container-fluid:visible").size()==0){ if($("#areaIsp").hasClass("hidden")) $("#areaIp").find(".glyphicon-plus").click(); diff --git a/src/main/webapp/WEB-INF/views/cfg/mail/mailForm.jsp b/src/main/webapp/WEB-INF/views/cfg/mail/mailForm.jsp index 96ac2ac6f..b5b714f36 100644 --- a/src/main/webapp/WEB-INF/views/cfg/mail/mailForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/mail/mailForm.jsp @@ -53,20 +53,20 @@ submitHandler : function(form) { var flag = true; - var subscribeId=0; + /* var subscribeId=0; //存在隐藏的subscribeId,不算进域配置 if($(".boxSolid.hidden").hasClass("subscribeId")){ subscribeId=1; - } + } */ var boxSolidLenth=$(".boxSolid").length; - if($(".boxSolid").hasClass("subscribeId")){ + /* if($(".boxSolid").hasClass("subscribeId")){ boxSolidLenth=boxSolidLenth-1; - } + } */ //代表所有业务都隐藏了,提示必须增加一种业务数据 - if(boxSolidLenth ==($(".boxSolid.hidden").length-subscribeId)){ + if(boxSolidLenth ==($(".boxSolid.hidden").length)){ top.$.jBox.tip("", ""); return; - } + } //代表所有区域都隐藏了,提示必须增加个区域信息 if($("input[name='isAreaEffective']:checked").val()==1 && $(".container-fluid:visible").size()==0){ if($("#areaIsp").hasClass("hidden")) $("#areaIp").find(".glyphicon-plus").click(); diff --git a/src/main/webapp/WEB-INF/views/cfg/proxy/control/httpRedirectForm.jsp b/src/main/webapp/WEB-INF/views/cfg/proxy/control/httpRedirectForm.jsp index c247aa4ca..491fae579 100644 --- a/src/main/webapp/WEB-INF/views/cfg/proxy/control/httpRedirectForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/proxy/control/httpRedirectForm.jsp @@ -321,7 +321,7 @@ -
+

diff --git a/src/main/webapp/WEB-INF/views/cfg/website/dnsForm.jsp b/src/main/webapp/WEB-INF/views/cfg/website/dnsForm.jsp index 6442a254e..d1ca04334 100644 --- a/src/main/webapp/WEB-INF/views/cfg/website/dnsForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/website/dnsForm.jsp @@ -32,20 +32,20 @@ submitHandler : function(form) { var flag = true; - var subscribeId=0; + /* var subscribeId=0; //存在隐藏的subscribeId,不算进域配置 if($(".boxSolid.hidden").hasClass("subscribeId")){ subscribeId=1; - } + } */ var boxSolidLenth=$(".boxSolid").length; - if($(".boxSolid").hasClass("subscribeId")){ + /* if($(".boxSolid").hasClass("subscribeId")){ boxSolidLenth=boxSolidLenth-1; - } + } */ //代表所有业务都隐藏了,提示必须增加一种业务数据 - if(boxSolidLenth ==($(".boxSolid.hidden").length-subscribeId)){ + if(boxSolidLenth ==($(".boxSolid.hidden").length)){ top.$.jBox.tip("", ""); return; - } + } //代表所有区域都隐藏了,提示必须增加个区域信息 if($("input[name='isAreaEffective']:checked").val()==1 && $(".container-fluid:visible").size()==0){ if($("#areaIsp").hasClass("hidden")) $("#areaIp").find(".glyphicon-plus").click(); diff --git a/src/main/webapp/WEB-INF/views/cfg/website/httpForm.jsp b/src/main/webapp/WEB-INF/views/cfg/website/httpForm.jsp index 930e0e323..6e9119f0b 100644 --- a/src/main/webapp/WEB-INF/views/cfg/website/httpForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/website/httpForm.jsp @@ -78,12 +78,12 @@ return; } } - if(!$(".httpResCfg").hasClass("hidden")){ + if(!$(".httpResCfg").hasClass("hidden")){ if($(".httpResCfg").find(".boxSolid").length==$(".httpResCfg").find(".boxSolid.hidden").length){ top.$.jBox.tip("", ""); return; } - } + } //代表所有区域都隐藏了,提示必须增加个区域信息 if($("input[name='isAreaEffective']:checked").val()==1 && $(".container-fluid:visible").size()==0){ if($("#areaIsp").hasClass("hidden")) $("#areaIp").find(".glyphicon-plus").click(); @@ -397,7 +397,7 @@ -
+

diff --git a/src/main/webapp/WEB-INF/views/cfg/website/sslForm.jsp b/src/main/webapp/WEB-INF/views/cfg/website/sslForm.jsp index 49dfa7105..6b004692c 100644 --- a/src/main/webapp/WEB-INF/views/cfg/website/sslForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/website/sslForm.jsp @@ -34,19 +34,19 @@ submitHandler : function(form) { //loading('onloading...'); var flag = true; - var subscribeId=0; + /* var subscribeId=0; //console.log("boxSolid:"+$(".boxSolid.hidden").length); //console.log("hidden subscribeId:"+$(".boxSolid,.hidden").hasClass("subscribeId")); //存在隐藏的subscribeId,不算进域配置 if($(".boxSolid.hidden").hasClass("subscribeId")){ subscribeId=1; - } + } */ var boxSolidLenth=$(".boxSolid").length; - if($(".boxSolid").hasClass("subscribeId")){ + /* if($(".boxSolid").hasClass("subscribeId")){ boxSolidLenth=boxSolidLenth-1; - } + } */ //代表所有业务都隐藏了,提示必须增加一种业务数据 - if(boxSolidLenth ==($(".boxSolid.hidden").length-subscribeId)){ + if(boxSolidLenth ==($(".boxSolid.hidden").length)){ top.$.jBox.tip("", ""); return; }