mirror of
https://github.com/magicbug/Cloudlog
synced 2026-08-13 17:49:35 -04:00
Introduce an AJAX-based QSO save flow: add QSO::ajax_saveqso() in the controller to validate input, set session/cookies, create the QSO and return JSON success/error payloads. Update the QSO view to include a data-ajax-save-url on the form and add a notice-alerts container location. Enhance the qso.js client: add isSubmitting guard, showQsoNotice helper, intercept form submit to POST serialized form data to the AJAX endpoint, handle success (reset form, show notice, refresh recent QSOs via htmx), display validation/server errors, and restore UI state when complete. These changes avoid full page reloads on save and provide inline validation feedback. |
||
|---|---|---|
| .. | ||
| config | ||
| controllers | ||
| core | ||
| helpers | ||
| hooks | ||
| language | ||
| libraries | ||
| logs | ||
| migrations | ||
| models | ||
| third_party | ||
| views | ||
| .htaccess | ||
| index.html | ||