Fix AJAX job actions error handling
- Correct AJAX request detection by checking X-Requested-With header only - Prevent fetch from following redirects with redirect: 'manual' - Add robust response handling for redirects and JSON responses - Ensure AJAX requests return JSON instead of HTML redirects
Showing
Please
register
or
sign in
to comment