|
@@ -692,7 +692,7 @@ Template.cardDetailsActionsPopup.events({
|
|
this.move(this.boardId, this.swimlaneId, this.listId, maxOrder + 1);
|
|
this.move(this.boardId, this.swimlaneId, this.listId, maxOrder + 1);
|
|
},
|
|
},
|
|
'click .js-archive': Popup.afterConfirm('cardArchive', function () {
|
|
'click .js-archive': Popup.afterConfirm('cardArchive', function () {
|
|
- Popup.back();
|
|
|
|
|
|
+ Popup.close();
|
|
this.archive();
|
|
this.archive();
|
|
Utils.goBoardId(this.boardId);
|
|
Utils.goBoardId(this.boardId);
|
|
}),
|
|
}),
|
|
@@ -701,7 +701,7 @@ Template.cardDetailsActionsPopup.events({
|
|
const currentCard = this;
|
|
const currentCard = this;
|
|
const level = currentCard.findWatcher(Meteor.userId()) ? null : 'watching';
|
|
const level = currentCard.findWatcher(Meteor.userId()) ? null : 'watching';
|
|
Meteor.call('watch', 'card', currentCard._id, level, (err, ret) => {
|
|
Meteor.call('watch', 'card', currentCard._id, level, (err, ret) => {
|
|
- if (!err && ret) Popup.back();
|
|
|
|
|
|
+ if (!err && ret) Popup.close();
|
|
});
|
|
});
|
|
},
|
|
},
|
|
});
|
|
});
|
|
@@ -1007,7 +1007,7 @@ BlazeComponent.extendComponent({
|
|
},
|
|
},
|
|
'click .js-submit'() {
|
|
'click .js-submit'() {
|
|
this.currentCard.setColor(this.currentColor.get());
|
|
this.currentCard.setColor(this.currentColor.get());
|
|
- Popup.back();
|
|
|
|
|
|
+ Popup.close();
|
|
},
|
|
},
|
|
'click .js-remove-color'() {
|
|
'click .js-remove-color'() {
|
|
this.currentCard.setColor(null);
|
|
this.currentCard.setColor(null);
|