Add popup menu and archive action

This commit is contained in:
Andrés Manelli 2018-02-01 14:23:27 -03:00
parent 3414cb84ad
commit 5953fb8a44
7 changed files with 57 additions and 2 deletions

View file

@ -10,7 +10,16 @@ BlazeComponent.extendComponent({
events() {
return [{
'click .js-open-swimlane-menu': Popup.open('swimlaneAction'),
submit: this.editTitle,
}];
},
}).register('swimlaneHeader');
Template.swimlaneActionPopup.events({
'click .js-close-swimlane' (evt) {
evt.preventDefault();
this.archive();
Popup.close();
},
});