general: allow text selection in clickable-rows (#59873)

This commit is contained in:
Benjamin Dauvergne 2022-01-05 17:49:34 +01:00
parent 68e236a120
commit bfdbab4bca
1 changed files with 2 additions and 2 deletions

View File

@ -402,10 +402,10 @@ var gadjo_js = gadjo_js || {};
});
});
$(function() {
$('.clickable-rows tr').on('mouseup', function(event) {
$('.clickable-rows tr').on('click auxclick', function(event) {
var $target = $(event.target);
if ($target.is('input, button, a')) {
return false;
return true;
}
var data_link = $(this).find('a[href]').attr('href');
if (data_link) {