From f03077edb70e939bfb447fea4cf46340f736b657 Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Mon, 16 Sep 2024 17:29:14 +0200 Subject: js: add ogStorage to prevent localStorage key collission Define ogStorage class to manage the localStorage operations. The new keys are constructed with the following structure: "group-context-id" Where group is either "show" for the collapsed items in the sidebar, or "check" for the selected checkboxes of the sidebar. Add sotrage versioning to delete obsolete localStorage when a new design for the storage is included in ogCP. --- ogcp/templates/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ogcp/templates/base.html') diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html index 80a5f7a..5aa84c6 100644 --- a/ogcp/templates/base.html +++ b/ogcp/templates/base.html @@ -111,7 +111,7 @@ - +