From 57229721a1b71b3ad75d825caf63c6dbc778c88c Mon Sep 17 00:00:00 2001 From: zhangwenqing Date: Thu, 30 Aug 2018 20:12:43 +0800 Subject: [PATCH] =?UTF-8?q?ftp=E3=80=81p2p=E9=85=8D=E7=BD=AE=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E4=BF=AE=E6=94=B9.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WEB-INF/views/cfg/fileTransfer/ftpForm.jsp | 13 +++++++++---- .../WEB-INF/views/cfg/fileTransfer/p2pForm.jsp | 17 +++++++++++++---- .../WEB-INF/views/cfg/fileTransfer/p2pList.jsp | 2 ++ 3 files changed, 24 insertions(+), 8 deletions(-) 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 bf8d965d6..ee2ee4b38 100644 --- a/src/main/webapp/WEB-INF/views/cfg/fileTransfer/ftpForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/fileTransfer/ftpForm.jsp @@ -34,8 +34,13 @@ submitHandler : function(form) { var flag = true; + var subscribeId=0; + //存在隐藏的subscribeId,不算进域配置 + if($(".boxSolid.hidden").hasClass("subscribeId")){ + subscribeId=1; + } //代表所有业务都隐藏了,提示必须增加一种业务数据 - if($(".boxSolid").length ==$(".boxSolid.hidden").length){ + if(($(".boxSolid").length-1) == ($(".boxSolid.hidden").length-subscribeId)){ top.$.jBox.tip("", ""); return; } @@ -343,7 +348,7 @@ -
+
<%@include file="/WEB-INF/views/cfg/complexCfgForm.jsp"%>
@@ -352,14 +357,14 @@ -