|
|
@@ -22,7 +22,8 @@
|
|
|
});
|
|
|
|
|
|
$('.datatable').on('click', 'tbody>tr', function () {
|
|
|
- if ($(this).attr('data-url') !== undefined)
|
|
|
+ var sel = getSelection().toString(); // verifie qu'il ne s'agit pas d'une selection de texte
|
|
|
+ if (!sel && $(this).attr('data-url') !== undefined)
|
|
|
{
|
|
|
var url = $(this).data('url');
|
|
|
window.location.href = url;
|