Skip to content

Commit

Permalink
Fixed issue #8120: Users with IE 8 cannot delete a survey response
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Sep 12, 2013
1 parent 32b82e0 commit ab0088e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/admin/browse.js
Expand Up @@ -54,12 +54,12 @@ $(document).ready(function(){

// Fix the heigh of the cell
$('.browsetable td').each(function(){
if ($(this).text().trim().length > 30){
if ($.trim($(this).text()).length > 30){
$(this).html("<span class=\"content\" title=\""+htmlspecialchars(htmlspecialchars($(this).text(),'ENT_HTML_QUOTE_DOUBLE'),'ENT_QUOTES')+"\">"+$(this).html()+"</span>");
}
});
$('.browsetable th strong').each(function(){
if ($(this).text().trim().length > 30){
if ($.trim($(this).text()).length > 30){
$(this).addClass("content");
$(this).attr("title",$(this).text());
}
Expand Down

0 comments on commit ab0088e

Please sign in to comment.