Commit d7ce2c5c0736de54478d96e8d11b3b9dc4fcb5e2

Authored by Riyad Preukschas
1 parent 3e800c3b

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 9  
10 10 - else
11 11 :plain
12   - $(".note-form-holder").replaceWith("#{escape_javascript(render 'form')}");
13   -
  12 + $(".note-form-holder").replaceWith("#{escape_javascript(render 'notes/common_form')}");
14 13 GitLab.GfmAutoComplete.setup();
... ...