修改日志详情列显示不全
This commit is contained in:
@@ -48,7 +48,10 @@ $(function(){
|
||||
var text=$(this).text().trim().substring(0,25)+"...";
|
||||
//重新为td赋值;
|
||||
$(this).text(text);
|
||||
}
|
||||
} else{
|
||||
var strTitle = $(this).text().trim().replace(/[\r\n]/g,"").replace(/\s+/g, " ");
|
||||
$(this).attr("title",strTitle);
|
||||
}
|
||||
});
|
||||
|
||||
$("input[name$='isCaseSenstive']").on("change",function(){
|
||||
@@ -72,6 +75,10 @@ $(function(){
|
||||
}else{
|
||||
text=$(element).text().trim()
|
||||
}
|
||||
if(typeof($(element).attr("title"))!="undefined"&&$(element).attr("title")!=null&&$(element).attr("title").length > 0){
|
||||
text=$(element).attr("title").trim();
|
||||
|
||||
}
|
||||
//特殊字符转义
|
||||
text=text.replace(/[<>&"]/g,function(c){return {'<':'<','>':'>','&':'&','"':'"'}[c];});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user