[Logbookadvanced] Reset now resets form and does initial search.

pull/1847/head
Andreas 2022-12-18 19:55:23 +01:00
rodzic 6cd742bea3
commit 067196e4f5
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -306,6 +306,12 @@ $(document).ready(function () {
handleQsl('N','', 'dontSend');
});
$('#searchForm').on('reset', function(e) {
setTimeout(function() {
$('#searchForm').submit();
});
});
function handleQsl(sent, method, tag) {
var elements = $('#qsoList tbody input:checked');
var nElements = elements.length;