Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.x] Roll back to initial simple isAjax() check on front end forms #9629

Merged
merged 1 commit into from Mar 1, 2024

Conversation

ryanmitchell
Copy link
Contributor

@ryanmitchell ryanmitchell commented Mar 1, 2024

I've created an ongoing problem here, sorry about this.

The initial idea around #9533 was to give the same response for XMLHttpRequest as for fetch() but maybe that was the wrong thing to do, lets just leave it as fetch() gets the 'normal' laravel error response format, rather than the amended response that Statamic is returning.

Lets just undo #9599

Closes #9627
Closes #9628

@robdekort
Copy link
Contributor

This does the job. It also fixes #9628

ryanmitchell added a commit to ryanmitchell/cms that referenced this pull request Mar 1, 2024
@ryanmitchell ryanmitchell changed the title [4.x] Roll back to initially simple isAjax() check [4.x] Roll back to initial simple isAjax() check on front end forms Mar 1, 2024
@jasonvarga jasonvarga merged commit f97c5d9 into statamic:4.x Mar 1, 2024
24 checks passed
@ryanmitchell ryanmitchell deleted the fix/precognition-ajax branch March 1, 2024 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants