From 817ed5c1c183bef28bf63c5b3f0c8f9437286a1f Mon Sep 17 00:00:00 2001 From: Rysz <24509509+desertwitch@users.noreply.github.com> Date: Thu, 18 Jul 2024 22:13:13 +0200 Subject: [PATCH] fix table order breaking when cookie is left malformed --- emhttp/plugins/dynamix/DashStats.page | 1 + 1 file changed, 1 insertion(+) diff --git a/emhttp/plugins/dynamix/DashStats.page b/emhttp/plugins/dynamix/DashStats.page index 1e36d959d..c63b5651e 100644 --- a/emhttp/plugins/dynamix/DashStats.page +++ b/emhttp/plugins/dynamix/DashStats.page @@ -1188,6 +1188,7 @@ function SleepNow() { function sortTables() { $('table.dashboard').each(function(){ var table = $(this); + sanitizeMultiCookie(table.prop('id'), ';', true); var index = $.cookie(table.prop('id')); // sorting list exists if (index != null) {