diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmSampleAudioList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmSampleAudioList.jsp index b791e2493..79ffe4447 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmSampleAudioList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmSampleAudioList.jsp @@ -136,9 +136,7 @@ + class="selectpicker select2 form-control" > diff --git a/src/main/webapp/static/pages/scripts/pageLogs.js b/src/main/webapp/static/pages/scripts/pageLogs.js index f698abf5f..252d4efda 100644 --- a/src/main/webapp/static/pages/scripts/pageLogs.js +++ b/src/main/webapp/static/pages/scripts/pageLogs.js @@ -1,7 +1,13 @@ $(document).ready(function() { // 界面鼠标悬停事件 $("table.logTb").find("td").not(":has(a)").bind("mouseover", function(){ - this.title=$(this).html(this.innerHTML.trim()).text(); + var str = $(this).html(this.innerHTML.trim()).text(); + //解决火狐title不能自动换行 + var count = Math.floor(str.length/64); + for(var i=1;i<=count;i++){ + str=str.substring(0,i*64-1)+"\n"+str.substring(i*64-1); + } + this.title=str; }); var fontSize = 0; $("table.logTb th").each(function(){