Commit d7ce2c5c authored by Riyad Preukschas's avatar Riyad Preukschas

Fix rendering template for invalid notes

parent 3e800c3b
......@@ -9,6 +9,5 @@
- else
:plain
$(".note-form-holder").replaceWith("#{escape_javascript(render 'form')}");
$(".note-form-holder").replaceWith("#{escape_javascript(render 'notes/common_form')}");
GitLab.GfmAutoComplete.setup();
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment