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
commit55deac8fddc7253cbcfeeed2c00ee45c1f91610a (patch)
tree2e917a3594bc5bdbeae39b4b7afdbef679e17eb9 /ishtar_common/templates
parentb8e9ad7dcb65b0d9bc0d82b7c9f5cda334ef36fb (diff)
downloadIshtar-55deac8fddc7253cbcfeeed2c00ee45c1f91610a.tar.bz2
Ishtar-55deac8fddc7253cbcfeeed2c00ee45c1f91610a.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");