summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorSaad Shahd <dev.saad.shahd@gmail.com>2016-12-29 02:16:42 +0200
committerSaad Shahd <dev.saad.shahd@gmail.com>2016-12-29 13:07:42 +0200
commite74b8bd14873fc5a3586bc41b262f4965f14b43f (patch)
tree160a42ab10d90879e7afb201e9f8070bb5c31d4a /app
parentc595b41881896e0987d66d9be8b307cfed97fd7d (diff)
downloadgitlab-ce-e74b8bd14873fc5a3586bc41b262f4965f14b43f.tar.gz
CTRL+Enter does not submit a new merge request
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/merge_requests/_new_submit.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/merge_requests/_new_submit.html.haml b/app/views/projects/merge_requests/_new_submit.html.haml
index 349181be784..34ead6427e0 100644
--- a/app/views/projects/merge_requests/_new_submit.html.haml
+++ b/app/views/projects/merge_requests/_new_submit.html.haml
@@ -10,7 +10,7 @@
%span.pull-right
= link_to 'Change branches', mr_change_branches_path(@merge_request)
%hr
-= form_for [@project.namespace.becomes(Namespace), @project, @merge_request], html: { class: 'merge-request-form form-horizontal common-note-form js-requires-input' } do |f|
+= form_for [@project.namespace.becomes(Namespace), @project, @merge_request], html: { class: 'merge-request-form form-horizontal common-note-form js-requires-input js-quick-submit' } do |f|
= render 'shared/issuable/form', f: f, issuable: @merge_request
= f.hidden_field :source_project_id
= f.hidden_field :source_branch