From b79807ccf52c3d1b24ae498579e52f0df19c3a9b Mon Sep 17 00:00:00 2001 From: leijun Date: Sun, 26 Aug 2018 15:17:15 +0800 Subject: [PATCH] =?UTF-8?q?bgp=E3=80=81xmpp=20subscribe=5Fid=E5=9F=9F?= =?UTF-8?q?=E4=B8=8D=E5=8F=AF=E5=8D=95=E7=8B=AC=E6=8F=90=E4=BA=A4=EF=BC=8C?= =?UTF-8?q?=E5=BF=85=E9=A1=BB=E6=90=AD=E9=85=8D=E5=85=B6=E4=BB=96=E5=9F=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WEB-INF/views/cfg/other/bgpForm.jsp | 27 +++++----- .../WEB-INF/views/cfg/other/xmppForm.jsp | 54 ++++++++++--------- 2 files changed, 44 insertions(+), 37 deletions(-) diff --git a/src/main/webapp/WEB-INF/views/cfg/other/bgpForm.jsp b/src/main/webapp/WEB-INF/views/cfg/other/bgpForm.jsp index 9636ad067..2135334a9 100644 --- a/src/main/webapp/WEB-INF/views/cfg/other/bgpForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/other/bgpForm.jsp @@ -19,6 +19,8 @@ $(".action").on("change", function() { $("#serviceId").val($(this).attr("serviceId")); $("#protocolId").val($(this).attr("protocolId")); + var action=$("input[name='action']:checked").val(); + switchAction(action); }); $("#serviceId").val($(".action:checked").attr("serviceId")); $("#protocolId").val($(".action:checked").attr("protocolId")); @@ -186,7 +188,7 @@ -
+
@@ -213,7 +215,7 @@ - + @@ -285,45 +287,44 @@ - - + +

- - <%-- --%> + -
+
<%@include file="/WEB-INF/views/cfg/complexCfgForm.jsp"%>
- + -
-
+
- -
+ +
-
+
@@ -204,7 +210,7 @@ - + @@ -239,44 +245,44 @@ - - + +

- + -
+
<%@include file="/WEB-INF/views/cfg/complexCfgForm.jsp"%>
- + -