Card Details, description edit is now saved at popup

This commit is contained in:
Martin Filser 2021-10-18 16:32:57 +02:00
parent 125c84b6b5
commit fb66b84b58
5 changed files with 36 additions and 11 deletions

View file

@ -148,6 +148,8 @@ BlazeComponent.extendComponent({
// If the card is already selected, we want to de-select it.
// XXX We should probably modify the minicard href attribute instead of
// overwriting the event in case the card is already selected.
} else if (Utils.isMiniScreen()) {
Session.set('popupCard', this.currentData()._id);
} else if (Session.equals('currentCard', this.currentData()._id)) {
evt.stopImmediatePropagation();
evt.preventDefault();