Files
TimeTracker/app/models
Dries Peeters a4797b25ac fix: Fix email template editor initialization and JavaScript errors
- Fix script block name from extra_js to scripts_extra to match base.html
- Replace inline onclick handlers with event listeners to fix scope issues
- Fix ReferenceError for toggleViewMode and insertVariable functions
- Improve editor initialization flow with proper script loading detection
- Add error handling and fallback to textarea if Toast UI Editor fails to load
- Add debug logging for troubleshooting initialization issues
- Ensure default templates are editable (no restrictions in backend)
- Add email templates link to admin menu in base.html
- Remove ENV file configuration details from email support page

The editor now properly initializes and all interactive features work correctly.
2025-11-14 13:40:00 +01:00
..
2025-11-13 10:09:28 +01:00
2025-11-01 09:04:06 +01:00
2025-10-24 17:08:42 +02:00
2025-10-09 06:49:56 +02:00
2025-10-09 06:49:56 +02:00
2025-10-27 17:46:50 +01:00
2025-10-09 06:49:56 +02:00
2025-11-13 15:19:32 +01:00
2025-10-09 06:49:56 +02:00
2025-10-31 18:33:02 +01:00
2025-11-13 11:27:48 +01:00
2025-10-27 15:31:05 +01:00
2025-10-24 15:03:34 +02:00