diff options
author | Brooks Becton <broabect@ut.utm.edu> | 2017-11-14 20:57:36 -0600 |
---|---|---|
committer | Brooks Becton <broabect@ut.utm.edu> | 2017-11-14 20:57:36 -0600 |
commit | ffb8b72b6967ffa7545d2c8e693c4606c66085a4 (patch) | |
tree | 245f703ec732eb29a55c1f5fc8131818a15b97c2 /client/components/cards/cardDetails.js | |
parent | 309c1d08ff2537342765d471e7b680d23cdb1aed (diff) | |
download | wekan-ffb8b72b6967ffa7545d2c8e693c4606c66085a4.tar.gz wekan-ffb8b72b6967ffa7545d2c8e693c4606c66085a4.tar.bz2 wekan-ffb8b72b6967ffa7545d2c8e693c4606c66085a4.zip |
Updated comments about pressing enter on forms
Diffstat (limited to 'client/components/cards/cardDetails.js')
-rw-r--r-- | client/components/cards/cardDetails.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js index 1fd8e205..3825bda8 100644 --- a/client/components/cards/cardDetails.js +++ b/client/components/cards/cardDetails.js @@ -197,6 +197,7 @@ Template.editCardTitleForm.onRendered(function () { Template.editCardTitleForm.events({ 'keydown .js-edit-card-title' (evt) { // If enter key was pressed, submit the data + // Unless the shift key is also being pressed if (evt.keyCode === 13 && !event.shiftKey) { $('.js-submit-edit-card-title-form').click(); } |