From b1d0776ad1d698b37c0868ff0af5c79abad9a346 Mon Sep 17 00:00:00 2001 From: andryyy Date: Thu, 11 May 2017 23:18:57 +0200 Subject: [PATCH] Fix selection in filter field --- data/web/js/admin.js | 2 +- data/web/js/mailbox.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/web/js/admin.js b/data/web/js/admin.js index e76feef7..b0fdbbde 100644 --- a/data/web/js/admin.js +++ b/data/web/js/admin.js @@ -15,7 +15,7 @@ $(document).ready(function() { } }); // Select checkbox by click on parent tr - $(document).on('click', 'tr', function(e) { + $(document).on('click', 'tbody>tr', function(e) { if (e.target.type == "checkbox") { e.stopPropagation(); } else { diff --git a/data/web/js/mailbox.js b/data/web/js/mailbox.js index 70435ca1..e1f0424f 100644 --- a/data/web/js/mailbox.js +++ b/data/web/js/mailbox.js @@ -15,7 +15,7 @@ $(document).ready(function() { } }); // Select checkbox by click on parent tr - $(document).on('click', 'tr', function(e) { + $(document).on('click', 'tbody>tr', function(e) { if (e.target.type == "checkbox") { e.stopPropagation(); } else {