Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions isic/ingest/templates/ingest/cohort_publish.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@
entries: [],

init() {
const select = document.getElementById("additional-collections-selection");
select.addEventListener("change", () => {
this.fetchSharingInfo();
// Select2 fires jQuery events, not native DOM events; addEventListener won't work here.
$("#additional-collections-selection").on("change", async () => {
await this.fetchSharingInfo();
});
},

Expand Down