From 80accfdfa9671f851a6dd4616e40054b000e5b55 Mon Sep 17 00:00:00 2001 From: wangxin Date: Thu, 27 Sep 2018 16:30:22 +0800 Subject: [PATCH] =?UTF-8?q?(1)=E9=85=8D=E7=BD=AE=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=97=B6=E5=B7=B2=E7=BB=8F=E5=B1=95=E5=BC=80=E7=9A=84=E5=9F=9F?= =?UTF-8?q?=E4=B8=8A=E7=9A=84=E5=8A=A0=E5=8F=B7=E9=9A=90=E8=97=8F=20(2)IP?= =?UTF-8?q?=E5=9F=9F=E4=BF=AE=E6=94=B9=E6=97=B6=E9=BB=98=E8=AE=A4=E5=B1=95?= =?UTF-8?q?=E5=BC=80,=E4=B8=8D=E6=98=BE=E7=A4=BAshow=20more?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/static/global/scripts/common.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/main/webapp/static/global/scripts/common.js b/src/main/webapp/static/global/scripts/common.js index be9524979..bf938f8c4 100644 --- a/src/main/webapp/static/global/scripts/common.js +++ b/src/main/webapp/static/global/scripts/common.js @@ -536,6 +536,17 @@ $(function(){ $(this).val(0); } }); + //配置修改时已经展开的域上的加号隐藏 + $(".boxSolid:visible").each(function(){ + $(this).prev("h4").find(".glyphicon-plus").addClass("hidden"); + }); + //IP域修改时默认展开,不显示show more + if($("input[name='compileId']")&&$("input[name='compileId']").val()!=0&&($(".btn-red-hollow").parents(".boxSolid").is(":visible")||$("input[name$='cfgRegionCode']").length==1)){ + $(".port").removeClass("hidden").removeClass("disabled"); + $(".destPort").removeClass("hidden").removeClass("disabled"); + $(".protocol").removeClass("hidden").removeClass("disabled"); + $(".btn-red-hollow").addClass("hidden"); + } }); window.onload=function(){ $("span[id^=open]").click(function(){