Project

General

Profile

Actions

Feature #57454

closed

Trigger events in DragUploader

Added by Stephan Schuler over 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-03-31
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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.

Actions

Also available in: Atom PDF