mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
- When writing to minicard, press Shift-Enter on minicard to go to next line below,
to continue writing on same minicard 2nd line. Thanks to bentiss!
This commit is contained in:
parent
d08bee6817
commit
7a35099fb9
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ BlazeComponent.extendComponent({
|
|||
|
||||
pressKey(evt) {
|
||||
// Pressing Enter should submit the card
|
||||
if (evt.keyCode === 13) {
|
||||
if (evt.keyCode === 13 && !evt.shiftKey) {
|
||||
evt.preventDefault();
|
||||
const $form = $(evt.currentTarget).closest('form');
|
||||
// XXX For some reason $form.submit() does not work (it's probably a bug
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue