mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-20 01:38:12 +00:00
More changes to the UI, more API...
This commit is contained in:
1 parent
f84a3a731a
commit
5a95d2062c
34 files changed
+519
-385
No files matched your search
+9
-2
@@ -32,9 +32,16 @@ $(document).ready(function() {
|
||||
|
||||
// Select checkbox by click on parent tr
|
||||
$(document).on('click', 'tbody>tr', function(e) {
|
||||
if (e.target.type == "checkbox") {
|
||||
if(e.target.tagName.toLowerCase() === 'button') {
|
||||
e.stopPropagation();
|
||||
} else {
|
||||
}
|
||||
else if(e.target.tagName.toLowerCase() === 'a') {
|
||||
e.stopPropagation();
|
||||
}
|
||||
else if (e.target.type == "checkbox") {
|
||||
e.stopPropagation();
|
||||
}
|
||||
else {
|
||||
var checkbox = $(this).find(':checkbox');
|
||||
checkbox.trigger('click');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user