mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 07:50:12 +01:00
Merge branch 'couscous3-fix-title-editing-shift-key-firefox' into devel
Card details: fix title editing with shift key. Thanks to couscous3 !
This commit is contained in:
commit
f3e7646cfa
2 changed files with 3 additions and 2 deletions
|
|
@ -7,7 +7,8 @@ This release adds the following new features:
|
||||||
and fixes the following bugs:
|
and fixes the following bugs:
|
||||||
|
|
||||||
* [Board list with long-description boards not visible](https://github.com/wekan/wekan/pull/1346);
|
* [Board list with long-description boards not visible](https://github.com/wekan/wekan/pull/1346);
|
||||||
* [Remove erroneous minicard title whitespace](https://github.com/wekan/wekan/pull/1347).
|
* [Remove erroneous minicard title whitespace](https://github.com/wekan/wekan/pull/1347);
|
||||||
|
* [Card details: fix title editing with shift key](https://github.com/wekan/wekan/pull/1348).
|
||||||
|
|
||||||
Thanks to GitHub users couscous3, GhassenRjab and thuanpq for their contributions.
|
Thanks to GitHub users couscous3, GhassenRjab and thuanpq for their contributions.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -200,7 +200,7 @@ Template.editCardTitleForm.events({
|
||||||
'keydown .js-edit-card-title' (evt) {
|
'keydown .js-edit-card-title' (evt) {
|
||||||
// If enter key was pressed, submit the data
|
// If enter key was pressed, submit the data
|
||||||
// Unless the shift key is also being pressed
|
// Unless the shift key is also being pressed
|
||||||
if (evt.keyCode === 13 && !event.shiftKey) {
|
if (evt.keyCode === 13 && !evt.shiftKey) {
|
||||||
$('.js-submit-edit-card-title-form').click();
|
$('.js-submit-edit-card-title-form').click();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue