Issue Feature Closed

#57454Trigger events in DragUploader

Stephan Schuler 03/31/14, 14:56 updated 10/02/18, 11:58

Description

Hey there.

I just tried to add some features to the files list module, mostly additinal buttons and stuff.

There I noticed that the DragUploader creates Ajax response data (both, the progress bar as well as the “success” line of uploaded files) in pure JS without hooks/events. This makes it kind of impossible to react on “onUploadComplete” events from the outside.

So I would suggest to adjust the DragUploader JavaScript in a way that allows to communicate with the DragUploader responses from the outside.

Since I don’t know about a common TYPO3 way to do that, I would use plain jQuery events being triggered on the $trigger object of the DragUploader. That makes sense to me because the DragUploader itself is done in jQuery.

Code will follow as soon as I have a ticket number.

Regards,
Stephan.

Reviews 1