diff options
author | Phil Hughes <me@iamphill.com> | 2017-06-23 14:29:49 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-06-24 15:32:31 +0300 |
commit | 6d4e8154b0aee8424c6c4739822fb47e72881a8d (patch) | |
tree | 8a140cfd9a75705c88e088599a62d119d8b9bcc5 /app | |
parent | 801cf92310e9f6950dddba848ef1e6a3d1e48ef0 (diff) |
Fixes ctrl+enter not submit issue edit form
Closes #33758
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/issue_show/components/fields/description.vue | 3 | ||||
-rw-r--r-- | app/assets/javascripts/issue_show/components/fields/title.vue | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/app/assets/javascripts/issue_show/components/fields/description.vue b/app/assets/javascripts/issue_show/components/fields/description.vue index 54650d2f184..27b1b814f9a 100644 --- a/app/assets/javascripts/issue_show/components/fields/description.vue +++ b/app/assets/javascripts/issue_show/components/fields/description.vue @@ -47,7 +47,8 @@ ref="textarea" slot="textarea" placeholder="Write a comment or drag your files here..." - @keydown.meta.enter="updateIssuable"> + @keydown.meta.enter="updateIssuable" + @keydown.ctrl.enter="updateIssuable"> </textarea> </markdown-field> </div> diff --git a/app/assets/javascripts/issue_show/components/fields/title.vue b/app/assets/javascripts/issue_show/components/fields/title.vue index 6556bf117e2..83af8e1e245 100644 --- a/app/assets/javascripts/issue_show/components/fields/title.vue +++ b/app/assets/javascripts/issue_show/components/fields/title.vue @@ -26,6 +26,7 @@ placeholder="Issue title" aria-label="Issue title" v-model="formState.title" - @keydown.meta.enter="updateIssuable" /> + @keydown.meta.enter="updateIssuable" + @keydown.ctrl.enter="updateIssuable" /> </fieldset> </template> |