mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
listen on collection events to allow usage of field on collection
This commit is contained in:
parent
28d903697c
commit
03ee738bee
@ -13,3 +13,7 @@ Version 1.5.2
|
||||
|
||||
You must add `"dropzone": "^5.5.1"` to your dependencies in `packages.json` at the root project.
|
||||
|
||||
Master branch
|
||||
=============
|
||||
|
||||
- the javascript for uploading a file now works within collections, listening to collection events.
|
||||
|
@ -227,3 +227,7 @@ var insertDownloadButton = (zone) => {
|
||||
window.addEventListener('load', function(e) {
|
||||
searchForZones(document);
|
||||
});
|
||||
|
||||
window.addEventListener('collection-add-entry', function(e) {
|
||||
searchForZones(e.detail.entry);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user