|
@@ -260,7 +260,7 @@ BlazeComponent.extendComponent({
|
|
|
|
|
|
pressKey(evt) {
|
|
pressKey(evt) {
|
|
// Pressing Enter should submit the card
|
|
// Pressing Enter should submit the card
|
|
- if (evt.keyCode === 13) {
|
|
|
|
|
|
+ if (evt.keyCode === 13 && !evt.shiftKey) {
|
|
evt.preventDefault();
|
|
evt.preventDefault();
|
|
const $form = $(evt.currentTarget).closest('form');
|
|
const $form = $(evt.currentTarget).closest('form');
|
|
// XXX For some reason $form.submit() does not work (it's probably a bug
|
|
// XXX For some reason $form.submit() does not work (it's probably a bug
|