From 62f09fdd574842b7453e0897d7e835faae2c6f6e Mon Sep 17 00:00:00 2001 From: Jonny Tischbein Date: Wed, 21 Nov 2018 19:23:06 +0100 Subject: [PATCH] Only store last opened panel for one reload (the POST reload after a submit) --- view/theme/frio/templates/admin/site.tpl | 1 + 1 file changed, 1 insertion(+) diff --git a/view/theme/frio/templates/admin/site.tpl b/view/theme/frio/templates/admin/site.tpl index e638a14c95..6a6deb1e09 100644 --- a/view/theme/frio/templates/admin/site.tpl +++ b/view/theme/frio/templates/admin/site.tpl @@ -46,6 +46,7 @@ if (activeTab) { $("#" + activeTab).collapse('show'); window.scroll(0, $("#" + activeTab).offset().top - 120); + localStorage.removeItem('activeTab'); } }); -- 2.39.5