general: handle .clickable-rows at document level (#60396)

This commit is contained in:
Benjamin Dauvergne 2022-01-07 10:22:17 +01:00
parent bfdbab4bca
commit 7546932ddf
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ var gadjo_js = gadjo_js || {};
});
});
$(function() {
$('.clickable-rows tr').on('click auxclick', function(event) {
$(document).on('click auxclick', '.clickable-rows tr', function(event) {
var $target = $(event.target);
if ($target.is('input, button, a')) {
return true;