From f5f4cc5d268bac013c53004e70d26147823aaf14 Mon Sep 17 00:00:00 2001 From: Luigi D'Acunto Date: Wed, 1 Jul 2026 16:23:06 +0200 Subject: [PATCH] v2.15.1 - Fix: pulsanti Collapse/Expand non compaiono su view.py (solo wato.py) --- user_script/checkmk_swissknife.user.js | 1 + 1 file changed, 1 insertion(+) diff --git a/user_script/checkmk_swissknife.user.js b/user_script/checkmk_swissknife.user.js index c57721b..e6bb356 100644 --- a/user_script/checkmk_swissknife.user.js +++ b/user_script/checkmk_swissknife.user.js @@ -1269,6 +1269,7 @@ function addAccordionToggleButtons(doc) { if (doc.body.dataset.cmkAccToggle === '1') return; + try { if (!/\/wato\.py/.test(doc.location.pathname)) return; } catch (e) { return; } const menues = doc.querySelector('td.menues'); if (!menues) return; if (!doc.querySelector('table.nform') && !doc.querySelector('div.foldable')) return;