Ticket #159: fix_tooltop_on_truncate.patch
| File fix_tooltop_on_truncate.patch, 0.7 KB (added by black silence, 3 years ago) |
|---|
-
datatable.js
605 605 606 606 if( urlToLink.match("javascript:") ) 607 607 { 608 $(this). html( '<a href="#" onClick="' + urlToLink.replace("javascript:","") + '">' + imgToPrepend + $(this).html() + '</a>');608 $(this).prepend(imgToPrepend).wrap('<a href="#" onclick="' + urlToLink.replace("javascript:","") + '"></a>'); 609 609 } 610 610 else 611 611 { 612 $(this). html( '<a target="_blank" href="' + urlToLink + '">' + imgToPrepend + $(this).html() + '</a>');612 $(this).prepend(imgToPrepend).wrap('<a target="_blank" href="' + urlToLink + '"></a>'); 613 613 } 614 614 }); 615 615 }
