diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2014-08-04 20:29:17 +0200 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2014-08-04 20:29:17 +0200 |
commit | 15c682fcb01807b8c7c857aba213f2f14904083d (patch) | |
tree | ff25bcf013f35eb9aab396fc1be51761133c57e8 /app/views/projects | |
parent | d4f5af820f2fdb442404804859c84d2ef21794d9 (diff) | |
download | gitlab-ce-15c682fcb01807b8c7c857aba213f2f14904083d.tar.gz |
Disable 'Save changes' button if input is empty, fixes #6351
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/notes/_note.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/notes/_note.html.haml b/app/views/projects/notes/_note.html.haml index 2fd8cb6d489..5e84aed0cc4 100644 --- a/app/views/projects/notes/_note.html.haml +++ b/app/views/projects/notes/_note.html.haml @@ -38,10 +38,10 @@ = f.text_area :note, class: 'note_text js-note-text js-gfm-input turn-on' .form-actions.clearfix - = f.submit 'Save changes', class: "btn btn-primary btn-save" + = f.submit 'Save changes', class: "btn btn-primary btn-save js-comment-button" .note-form-option - %a.choose-btn.btn.btn-small.js-choose-note-attachment-button + %a.choose-btn.btn.js-choose-note-attachment-button %i.icon-paper-clip %span Choose File ... |