From d7ce2c5c0736de54478d96e8d11b3b9dc4fcb5e2 Mon Sep 17 00:00:00 2001 From: Riyad Preukschas Date: Wed, 21 Nov 2012 20:26:37 +0100 Subject: [PATCH] Fix rendering template for invalid notes --- app/views/notes/_create_common_note.js.haml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/notes/_create_common_note.js.haml b/app/views/notes/_create_common_note.js.haml index a96cc7b3..217c9080 100644 --- a/app/views/notes/_create_common_note.js.haml +++ b/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();