listen on collection events to allow usage of field on collection

This commit is contained in:
2018-10-19 14:31:51 +02:00
parent 28d903697c
commit 03ee738bee
2 changed files with 8 additions and 0 deletions

View File

@@ -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);
});