Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I think that UploadController::handleUploads() should return an AjaxResponse instead of a JsonResponse. It doesn't break anything since AjaxResponse is a subclass of JsonResponse, and it opens the door to DropzoneJS possibly taking advantage of the core AJAX system (running commands on the client side and so forth) when uploads occur.
Comment | File | Size | Author |
---|---|---|---|
dropzonejs-ajax-response.patch | 1.16 KB | phenaproxima |
Comments
Comment #3
Primsi CreditAttribution: Primsi at Examiner.com for Examiner.com commentedCommitted, thanks!