(1)配置修改时已经展开的域上的加号隐藏
(2)IP域修改时默认展开,不显示show more
This commit is contained in:
@@ -536,6 +536,17 @@ $(function(){
|
|||||||
$(this).val(0);
|
$(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(){
|
window.onload=function(){
|
||||||
$("span[id^=open]").click(function(){
|
$("span[id^=open]").click(function(){
|
||||||
|
|||||||
Reference in New Issue
Block a user