Commit d7ce2c5c0736de54478d96e8d11b3b9dc4fcb5e2
1 parent
3e800c3b
Exists in
master
and in
4 other branches
Fix rendering template for invalid notes
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
app/views/notes/_create_common_note.js.haml
@@ -9,6 +9,5 @@ | @@ -9,6 +9,5 @@ | ||
9 | 9 | ||
10 | - else | 10 | - else |
11 | :plain | 11 | :plain |
12 | - $(".note-form-holder").replaceWith("#{escape_javascript(render 'form')}"); | ||
13 | - | 12 | + $(".note-form-holder").replaceWith("#{escape_javascript(render 'notes/common_form')}"); |
14 | GitLab.GfmAutoComplete.setup(); | 13 | GitLab.GfmAutoComplete.setup(); |