fix(config): saveAll crash when saving modules
Some checks failed
CI / lint-and-test (3.11) (push) Has been cancelled
CI / lint-and-test (3.13) (push) Has been cancelled

saveModules() used event.target, which is undefined when called from saveAll.

Replaced with direct checkbox lookups and null checks.
This commit is contained in:
2026-06-30 18:04:22 +00:00
parent 7852838b21
commit 37b7f94f54
2 changed files with 10 additions and 9 deletions

View File

@@ -928,7 +928,7 @@
<script src="/pos/static/js/pos-utils.js?v=33" defer></script>
<script src="/pos/static/js/sidebar.js" defer></script>
<script src="/pos/static/js/kiosk.js" defer></script>
<script src="/pos/static/js/config.js?v=34" defer></script>
<script src="/pos/static/js/config.js?v=35" defer></script>
<script src="/pos/static/js/sync-engine.js" defer></script>
<script>if('serviceWorker' in navigator){navigator.serviceWorker.register('/pos/sw.js',{scope:'/pos/'});}</script>
<script src="/pos/static/js/pwa-install.js" defer></script>