From 95f00eface2b8bc15304a9958409554c867030d6 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Fri, 26 Aug 2022 07:20:30 +0100 Subject: [PATCH] Don't compact grid on first load with query --- core/templates/ui/drilldown/drilldown.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/templates/ui/drilldown/drilldown.html b/core/templates/ui/drilldown/drilldown.html index 627e439..2b9ca95 100644 --- a/core/templates/ui/drilldown/drilldown.html +++ b/core/templates/ui/drilldown/drilldown.html @@ -101,7 +101,7 @@ var grid = document.getElementById("grid-stack-main").gridstack; grid.addWidget(contents.innerHTML); contents.outerHTML = ""; - grid.compact(); + //grid.compact(); // because we remove the element the JS runs in // so we need to run it again here // initTabs("{{ unique }}");