mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-04 05:44:58 +00:00
listen on collection events to allow usage of field on collection
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
Reference in New Issue
Block a user