mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
parent
265ee9ab83
commit
bd2739e78d
2 changed files with 3 additions and 3 deletions
|
@ -239,7 +239,7 @@ template(name="cardDetails")
|
||||||
h3.card-details-item-title
|
h3.card-details-item-title
|
||||||
i.fa.fa-list
|
i.fa.fa-list
|
||||||
| {{_ 'list'}}
|
| {{_ 'list'}}
|
||||||
select.js-select-lists
|
select.js-select-card-details-lists
|
||||||
each currentBoard.lists
|
each currentBoard.lists
|
||||||
option(value="{{_id}}" selected="{{#if isCurrentListId _id}}selected{{/if}}") {{title}}
|
option(value="{{_id}}" selected="{{#if isCurrentListId _id}}selected{{/if}}") {{title}}
|
||||||
|
|
||||||
|
|
|
@ -388,9 +388,9 @@ BlazeComponent.extendComponent({
|
||||||
card.move(card.boardId, card.swimlaneId, card.listId, sort);
|
card.move(card.boardId, card.swimlaneId, card.listId, sort);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'change .js-select-lists'(event) {
|
'change .js-select-card-details-lists'(event) {
|
||||||
let card = this.data();
|
let card = this.data();
|
||||||
const listSelect = this.$('.js-select-lists')[0];
|
const listSelect = this.$('.js-select-card-details-lists')[0];
|
||||||
const listId = listSelect.options[listSelect.selectedIndex].value;
|
const listId = listSelect.options[listSelect.selectedIndex].value;
|
||||||
card.move(card.boardId, card.swimlaneId, listId, card.sort);
|
card.move(card.boardId, card.swimlaneId, listId, card.sort);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue