Channel-dependent fields (Telegram bot token, chat id, event checkboxes, "Test senden" button) now hide when the user switches the Kanal select to "Nur Dashboard". Implemented as data-channel-only="telegram" markers that a tiny syncChannelOnlyFields() in app.js toggles via inline display:none. Initial state is set in Jinja so there's no flash on load. Hidden inputs stay in the form, so the values survive the round-trip: switch to Dashboard → save → switch back to Telegram and the bot token / chat id are still there. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .gitkeep | ||
| app.css | ||
| app.js | ||
| berlin-districts.geojson | ||
| didi.webp | ||
| map.js | ||