diff --git a/src/main/webapp/static/global/scripts/common.js b/src/main/webapp/static/global/scripts/common.js index 4322418ea..fb6744849 100644 --- a/src/main/webapp/static/global/scripts/common.js +++ b/src/main/webapp/static/global/scripts/common.js @@ -108,10 +108,10 @@ $(function(){ text=$(element).text().trim() } if(!$(element).find(".tooltips").length>0&&typeof($(element).attr("title"))!="undefined"&&$(element).attr("title")!=null&&$(element).attr("title").length > 0){ -// text=$(element).attr("titleHidden").trim(); -// if(text==null&&text==''){ + text=$(element).attr("titleHidden").trim(); + if(text==null&&text==''){ text=$(element).attr("title").trim(); -// } + } } // text=text.replace(/[\r\n]/g,"");// 去掉换行 //特殊字符转义