Commit graph

5 commits

Author SHA1 Message Date
“Raroun”
d6067d3466 Modernize compose.js and modal.js with improved architecture and bug fixes
compose.js:
- Add draft autosave to sessionStorage (body, location, scheduled_at)
- Restore draft when returning to compose page
- Clear form after successful post submission
- Fix geolocation operator precedence bug
- Fix button staying disabled after geolocation error
- Add sessionStorage availability check for private browsing
- Wrap in IIFE with 'use strict'
- Add JSDoc documentation
- Use namespaced events (.compose)

modal.js:
- Fix critical double event registration bug in editpost()
- Add isJotResetBound flag to ensure single handler binding
- Add isEditJotClosing guard for race condition protection
- Wrap in IIFE with 'use strict'
- Add feature detection for all external dependencies
- Use namespaced events (.frio, .frio-edit)
- Add JSDoc documentation
2026-02-27 13:23:03 +01:00
5af3b9dedd REUSE more work on bin and view directories 2024-08-25 08:45:08 +02:00
Extarys
91d3e72be7 frio: formating, otherwise untouched 2021-01-22 08:38:44 -05:00
1e7d9fdcf6 added license hints to the Frio javascript files 2020-09-27 18:36:33 +02:00
8f4f6899dd Update composer module to use the new ACL selector
- Remove ACL-specific code from compose-footer
- Move compose-footer template remaining content to compose.js
2019-11-28 12:54:56 -05:00