修复配置td title显示问题
http url界面增加配置来源信息
This commit is contained in:
@@ -36,18 +36,18 @@ $(function(){
|
||||
$("#contentTable").not(".logTb").find("td").each(function(i){
|
||||
//获取td当前对象的文本,如果长度大于25;
|
||||
if($(this).text().trim().length>28){
|
||||
//给td设置title属性,并且设置td的完整值.给title属性.
|
||||
var strTitle = $(this).text().trim();
|
||||
//解决火狐title不能自动换行
|
||||
var count = Math.floor(strTitle.length/64);
|
||||
for(var i=1;i<=count;i++){
|
||||
strTitle=strTitle.substring(0,i*64-1)+"\n"+strTitle.substring(i*64-1);
|
||||
}
|
||||
//给td设置title属性,并且设置td的完整值.给title属性.
|
||||
var strTitle = $(this).text().trim();
|
||||
//解决火狐title不能自动换行
|
||||
var count = Math.floor(strTitle.length/64);
|
||||
for(var i=1;i<=count;i++){
|
||||
strTitle=strTitle.substring(0,i*64-1)+"\n"+strTitle.substring(i*64-1);
|
||||
}
|
||||
$(this).attr("title",strTitle);
|
||||
//获取td的值,进行截取。赋值给text变量保存.
|
||||
var text=$(this).text().substring(0,25)+"...";
|
||||
//重新为td赋值;
|
||||
$(this).text(text);
|
||||
//获取td的值,进行截取。赋值给text变量保存.
|
||||
var text=$(this).text().trim().substring(0,25)+"...";
|
||||
//重新为td赋值;
|
||||
$(this).text(text);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -1586,7 +1586,28 @@ var setHexCaseSenstive=function(){
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
var validateEffectiveRuleLimit=function(path,serviceId){
|
||||
var flag = true;
|
||||
$.ajax({
|
||||
url: path+"/configure/statistics/getEffectiveCfgNum",
|
||||
type: "POST",
|
||||
data:{"serviceId":serviceId},
|
||||
async: false, //表单提交前验证是否可提交,所以此参数必须为false
|
||||
success: function(data) {
|
||||
if(data.status==0){
|
||||
top.$.jBox.closeTip();
|
||||
alertx(data.msg);
|
||||
flag=false;
|
||||
}
|
||||
},
|
||||
error:function(jqXHR, textStatus, errorThrown){
|
||||
top.$.jBox.closeTip();
|
||||
alertx(errorThrown);
|
||||
flag=false;
|
||||
}
|
||||
});
|
||||
return flag;
|
||||
}
|
||||
function heightDiv(type){
|
||||
var hei=document.documentElement.clientHeight;
|
||||
hei=hei-91;
|
||||
|
||||
Reference in New Issue
Block a user