mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
parent
22b8b6ab20
commit
018bb343b5
6 changed files with 65 additions and 62 deletions
|
|
@ -1,16 +0,0 @@
|
|||
Template.addlistForm.events({
|
||||
submit: function(event, t) {
|
||||
event.preventDefault();
|
||||
var title = t.find('.list-name-input');
|
||||
if ($.trim(title.value)) {
|
||||
Lists.insert({
|
||||
title: title.value,
|
||||
boardId: Session.get('currentBoard'),
|
||||
sort: $('.list').length
|
||||
});
|
||||
|
||||
Utils.Scroll('.js-lists').left(270, true);
|
||||
title.value = '';
|
||||
}
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue