mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Fix: Allow to set empty card title, AssignedBy and RequestedBy.
Thanks to xet7 !
This commit is contained in:
parent
c29aa76d02
commit
25561946ed
1 changed files with 6 additions and 0 deletions
|
|
@ -291,6 +291,8 @@ BlazeComponent.extendComponent({
|
|||
.trim();
|
||||
if (title) {
|
||||
this.data().setTitle(title);
|
||||
} else {
|
||||
this.data().setTitle('');
|
||||
}
|
||||
},
|
||||
'submit .js-card-details-assigner'(event) {
|
||||
|
|
@ -300,6 +302,8 @@ BlazeComponent.extendComponent({
|
|||
.trim();
|
||||
if (assigner) {
|
||||
this.data().setAssignedBy(assigner);
|
||||
} else {
|
||||
this.data().setAssignedBy('');
|
||||
}
|
||||
},
|
||||
'submit .js-card-details-requester'(event) {
|
||||
|
|
@ -309,6 +313,8 @@ BlazeComponent.extendComponent({
|
|||
.trim();
|
||||
if (requester) {
|
||||
this.data().setRequestedBy(requester);
|
||||
} else {
|
||||
this.data().setRequestedBy('');
|
||||
}
|
||||
},
|
||||
'click .js-member': Popup.open('cardMember'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue