Add card import UI

This commit is contained in:
Xavier Priour 2015-10-13 20:29:25 +02:00 committed by Maxime Quandalle
parent 758be3356c
commit bc79b83140
3 changed files with 16 additions and 0 deletions

View file

@ -33,6 +33,7 @@ Template.listActionPopup.events({
MultiSelection.add(cardIds);
Popup.close();
},
'click .js-import-card': Popup.open('listImportCard'),
'click .js-move-cards': Popup.open('listMoveCards'),
'click .js-archive-cards': Popup.afterConfirm('listArchiveCards', function() {
this.allCards().forEach((card) => {
@ -40,6 +41,7 @@ Template.listActionPopup.events({
});
Popup.close();
}),
'click .js-close-list'(evt) {
evt.preventDefault();
this.archive();