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.
Please, consider adding a single line to the end of file_ajax_upload() of file.module:
$commands[] = ajax_command_replace(NULL, $output, $settings);
$commands[] = ajax_command_invoke(NULL, 'trigger', array('upload')); // <<<<<
return array('#type' => 'ajax', '#commands' => $commands);
This would allow Ajax/JS handling of the file just uploaded.
Comments
Comment #1
Jooblay.net CreditAttribution: Jooblay.net commentedWhat is the status of this ticket?