CTRL+Enter does not submit a new merge request

This commit is contained in:
Saad Shahd 2016-12-29 02:16:42 +02:00
parent c595b41881
commit e74b8bd148
2 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -0,0 +1,4 @@
---
title: Make CTRL+Enter submits a new merge request
merge_request: 8360
author: Saad Shahd