Fix: Profile picture upload AJAX response handling
- Add dataType: 'json' to AJAX call to properly parse JSON response - Add Content-Type header to upload_profile_picture.php - Add error callback with console logging for debugging - Remove manual JSON parsing since jQuery handles it with dataType
This commit is contained in:
BIN
assets/images/pp/9a1f344bc68815fa15bb0a1e16017ee6.png
Normal file
BIN
assets/images/pp/9a1f344bc68815fa15bb0a1e16017ee6.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 MiB |
Reference in New Issue
Block a user