Merge branch 'master' into 328-formular-zum-kontakt-mit-kursteilnehmern
This commit is contained in:
commit
bb07af6439
@ -135,7 +135,7 @@
|
||||
|
||||
if (tableFilterForm) {
|
||||
gatherTableFilterInputs(tableFilterForm);
|
||||
addTableFilterEventListeners();
|
||||
addTableFilterEventListeners(tableFilterForm);
|
||||
}
|
||||
}
|
||||
|
||||
@ -157,7 +157,7 @@
|
||||
});
|
||||
}
|
||||
|
||||
function addTableFilterEventListeners() {
|
||||
function addTableFilterEventListeners(tableFilterForm) {
|
||||
tableFilterInputs.search.forEach(function(input) {
|
||||
var debouncedInput = debounce(function() {
|
||||
if (input.value.length === 0 || input.value.length > 2) {
|
||||
@ -188,7 +188,7 @@
|
||||
});
|
||||
});
|
||||
|
||||
element.addEventListener('submit', function(event) {
|
||||
tableFilterForm.addEventListener('submit', function(event) {
|
||||
event.preventDefault();
|
||||
updateFromTableFilter();
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user