summaryrefslogtreecommitdiff
path: root/app/views/shared/_commit_message_container.html.haml
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-02-12 16:28:53 -0500
committerRobert Speicher <rspeicher@gmail.com>2016-03-02 15:11:15 -0500
commit76ed2afcfc2ae2b6ab3d3419a1183374a39022cc (patch)
tree9f102ebcd4ec208938898529782317029e304d61 /app/views/shared/_commit_message_container.html.haml
parentb5738edadeb7e77fa152fc3776f652d94156681c (diff)
downloadgitlab-ce-76ed2afcfc2ae2b6ab3d3419a1183374a39022cc.tar.gz
Change `js-quick-submit` behavior to expect the class on the form
Now it will work on any field inside that form, and it's easier to scope new behavior, which is what we're adding next!
Diffstat (limited to 'app/views/shared/_commit_message_container.html.haml')
-rw-r--r--app/views/shared/_commit_message_container.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_commit_message_container.html.haml b/app/views/shared/_commit_message_container.html.haml
index 7c57924277e..7afbaeddee8 100644
--- a/app/views/shared/_commit_message_container.html.haml
+++ b/app/views/shared/_commit_message_container.html.haml
@@ -7,7 +7,7 @@
.max-width-marker
= text_area_tag 'commit_message',
(params[:commit_message] || local_assigns[:text]),
- class: 'form-control js-commit-message js-quick-submit', placeholder: local_assigns[:placeholder],
+ class: 'form-control js-commit-message', placeholder: local_assigns[:placeholder],
required: true, rows: (local_assigns[:rows] || 3),
id: "commit_message-#{nonce}"
- if local_assigns[:hint]