Studio-42/elFinder — Issue #172: elfinder notifyOn function
Author: mherb63
Created: 2011-12-06 23:58:17+00:00
State: open

Are there any mechanisms to define a client function in javascript that would be fired upon completion of an elFinder activity such as upload, view, delete, rename, etc.

What would be nice if one could register a function with the plugin and have it fire on the above events. And, elFinder would pass in all the info about the object.

In the case of using the mysql volume driver, this function should pass in:

id
parent_id
name
size
mtime
mime
width
height

maybe something similar to this:

elFinder.notifyOn ("upload").(function(elFinderObject) {
var dbId = elFinderObject.id;
var size = elFinderObject.size;
...etc
});