Bug 29893: Make sure the form will be submitted after the draw calls

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Jonathan Druart 2022-02-09 11:07:40 +01:00 committed by Fridolin Somers
parent 0fa0f486c5
commit 097e27f9ca

View file

@ -84,10 +84,9 @@ $(document).ready(function () {
});
$("#es_mappings").on("submit", function(e){
e.preventDefault();
$("#search_fields_table").DataTable().search('').draw();
$("#mapping_biblios_table").DataTable().search('').draw();
$("#mapping_authorities_table").DataTable().search('').draw();
this.submit();
return true;
});
});