summaryrefslogtreecommitdiff
path: root/ishtar_common/templates
diff options
context:
space:
mode:
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");