mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 01:28:49 +01:00
add: optional board description
This commit is contained in:
parent
011f53ad08
commit
21fa6fdc32
5 changed files with 15 additions and 0 deletions
|
|
@ -18,8 +18,10 @@ Template.boardMenuPopup.events({
|
|||
Template.boardChangeTitlePopup.events({
|
||||
submit(evt, tpl) {
|
||||
const newTitle = tpl.$('.js-board-name').val().trim();
|
||||
const newDesc = tpl.$('.js-board-desc').val().trim();
|
||||
if (newTitle) {
|
||||
this.rename(newTitle);
|
||||
this.setDesciption(newDesc);
|
||||
Popup.close();
|
||||
}
|
||||
evt.preventDefault();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue