Browse Source

Fix selection in filter field

andryyy 8 years ago
parent
commit
b1d0776ad1
2 changed files with 2 additions and 2 deletions
  1. 1 1
      data/web/js/admin.js
  2. 1 1
      data/web/js/mailbox.js

+ 1 - 1
data/web/js/admin.js

@@ -15,7 +15,7 @@ $(document).ready(function() {
     }
     }
   });
   });
   // Select checkbox by click on parent tr
   // 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") {
     if (e.target.type == "checkbox") {
       e.stopPropagation();
       e.stopPropagation();
     } else {
     } else {

+ 1 - 1
data/web/js/mailbox.js

@@ -15,7 +15,7 @@ $(document).ready(function() {
     }
     }
   });
   });
   // Select checkbox by click on parent tr
   // 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") {
     if (e.target.type == "checkbox") {
       e.stopPropagation();
       e.stopPropagation();
     } else {
     } else {