Reputation: 73938
I am using CKFinder 3 in a single page Application, I need to detect when an image upload has been successful.
At the moment I am using createResources:after
with no success.
Any idea how to solve this, I meanly need to solve this in the JS code ?
onInit: function( finder ) {
finder.on('createResources:after', function (event) {
// issue here, does not fire
});
}
Upvotes: 3
Views: 963
Reputation: 2475
Currently the CKFinder API up to version 3.3 doesn't have any events for uploads. There are plans to add those events in 3.4.
The createResources:after event is fired when a Resource Type is created. A resource type is simply a group of files under a root path.
Upvotes: 8