Fix No Add Card + etc.

Thanks to mimZD and xet7 !

Fixes #6108
This commit is contained in:
Lauri Ojansivu 2026-02-07 03:52:16 +02:00
parent c7b46c86c3
commit 55710835fe
15 changed files with 53 additions and 12 deletions

View file

@ -123,6 +123,15 @@ BlazeComponent.extendComponent({
this.collapsed(!this.collapsed());
},
'click .js-open-list-menu': Popup.open('listAction'),
'click .js-add-card.list-header-plus-top'(event) {
const listDom = $(event.target).parents(
`#js-list-${this.currentData()._id}`,
)[0];
const listComponent = BlazeComponent.getComponentForElement(listDom);
listComponent.openForm({
position: 'top',
});
},
'click .js-unselect-list'() {
Session.set('currentList', null);
},