bigskysoftware / bigskysoftware/htmx

htmx:afterRequest not fired if a string is sent from the server on 5xx error

Open
#2,837 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
49.4k
Forks
1.7k
Avg merge
3d 22h
Merged PRs (30d)
30

Description

I thought maybe this was a caveat of AJAX expecting xml but when I send a JSON object the event fires as expected. Super not urgent issue for me either, was just scratching my head why my buttons weren't getting re-enabled. Easy enough to return JSON and get the error that way.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.