优化top.$.jBox日志趋势多条滚动条

点击顶部导航菜单后关闭top.$.jBox日志趋势弹框
This commit is contained in:
leijun
2019-01-16 11:03:27 +08:00
parent 4dcd0ec948
commit 639ebb6be0
2 changed files with 6 additions and 3 deletions

View File

@@ -661,7 +661,11 @@ function logSearch(cfgId,serviceId){
title: title, title: title,
width: $(document).width()*0.8, width: $(document).width()*0.8,
height: $(document).height()*0.8, height: $(document).height()*0.8,
buttons: { close : true } buttons: { close : true },
loaded : function(h) { //隐藏滚动条
$(".jbox-content", top.document).css( "overflow-y", "hidden");
}
}); });
//alert(cfgId+'======'+url); //alert(cfgId+'======'+url);
} }

View File

@@ -16,7 +16,7 @@ var home = function () {
//顶部导航顶级菜单事件 //顶部导航顶级菜单事件
$(".mega-menu li a").click(function(e){ $(".mega-menu li a").click(function(e){
top.$.jBox.close(true);
var $this = $(this); var $this = $(this);
var next_ul = $this.next("ul"); var next_ul = $this.next("ul");
var prev_ul = $this.parents("ul"); var prev_ul = $this.parents("ul");
@@ -72,7 +72,6 @@ var home = function () {
}*/ }*/
}) })