summaryrefslogtreecommitdiff
path: root/ishtar_common/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2023-01-13 13:21:34 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2023-01-13 13:22:08 +0100
commit988cd8f05d9fa67cbb299ff81f7d38a650562fc1 (patch)
tree2e917a3594bc5bdbeae39b4b7afdbef679e17eb9 /ishtar_common/templates
parent463baac5f0bc46072b8cb2ce8cdaf38b0102775d (diff)
downloadIshtar-988cd8f05d9fa67cbb299ff81f7d38a650562fc1.tar.bz2
Ishtar-988cd8f05d9fa67cbb299ff81f7d38a650562fc1.zip
Syndication: table - reinit headers on load
Diffstat (limited to 'ishtar_common/templates')
-rw-r--r--ishtar_common/templates/blocks/DataTables.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/ishtar_common/templates/blocks/DataTables.html b/ishtar_common/templates/blocks/DataTables.html
index 681c91d7d..239d48a95 100644
--- a/ishtar_common/templates/blocks/DataTables.html
+++ b/ishtar_common/templates/blocks/DataTables.html
@@ -241,6 +241,7 @@ jQuery(document).ready(function(){
$(".sources").hide();
$(".sources-{{source_id}}").show();
redraw_plots("{{name}}", "{{source_id}}");
+ $("#grid_{{name}}_{{source_id}}").DataTable().clear().draw();
if (current_tab == "map") map_submit_search();
$(this).parent().children().removeClass("btn-success").addClass("btn-secondary");
$(this).removeClass("active").removeClass("btn-secondary").addClass("btn-success");