Permalink
Browse files

Fix rendering template for invalid notes

  • Loading branch information...
1 parent 3e800c3 commit d7ce2c5c0736de54478d96e8d11b3b9dc4fcb5e2 @riyad riyad committed Nov 21, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 app/views/notes/_create_common_note.js.haml
@@ -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();

0 comments on commit d7ce2c5

Please sign in to comment.