From 7546932ddf4fec73d18c691831781484c5beedd5 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 7 Jan 2022 10:22:17 +0100 Subject: [PATCH] general: handle .clickable-rows at document level (#60396) --- gadjo/static/js/gadjo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gadjo/static/js/gadjo.js b/gadjo/static/js/gadjo.js index 93be85c..24a0160 100644 --- a/gadjo/static/js/gadjo.js +++ b/gadjo/static/js/gadjo.js @@ -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; -- 2.34.1