diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-02-13 00:28:53 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-03-02 23:11:15 +0300 |
commit | 76ed2afcfc2ae2b6ab3d3419a1183374a39022cc (patch) | |
tree | 9f102ebcd4ec208938898529782317029e304d61 /app/views/projects/blob/_upload.html.haml | |
parent | b5738edadeb7e77fa152fc3776f652d94156681c (diff) |
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/projects/blob/_upload.html.haml')
-rw-r--r-- | app/views/projects/blob/_upload.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/blob/_upload.html.haml b/app/views/projects/blob/_upload.html.haml index 676924dc6ca..b1f50eb5f34 100644 --- a/app/views/projects/blob/_upload.html.haml +++ b/app/views/projects/blob/_upload.html.haml @@ -5,7 +5,7 @@ %a.close{href: "#", "data-dismiss" => "modal"} × %h3.page-title #{title} .modal-body - = form_tag form_path, method: method, class: 'js-upload-blob-form form-horizontal' do + = form_tag form_path, method: method, class: 'js-quick-submit js-upload-blob-form form-horizontal' do .dropzone .dropzone-previews.blob-upload-dropzone-previews %p.dz-message.light |