mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 01:28:49 +01:00
Card Details sorting, Enter = Save Button press
This commit is contained in:
parent
02f056851d
commit
df5b76aa87
1 changed files with 6 additions and 0 deletions
|
|
@ -377,6 +377,12 @@ BlazeComponent.extendComponent({
|
|||
this.data().setRequestedBy('');
|
||||
}
|
||||
},
|
||||
'keydown input.js-edit-card-sort'(evt) {
|
||||
// enter = save
|
||||
if (evt.keyCode === 13) {
|
||||
this.find('button[type=submit]').click();
|
||||
}
|
||||
},
|
||||
'submit .js-card-details-sort'(event) {
|
||||
event.preventDefault();
|
||||
const sort = parseFloat(this.currentComponent()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue