summaryrefslogtreecommitdiff
path: root/app/views/notes
diff options
context:
space:
mode:
authorRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-10-09 23:54:14 +0200
committerRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-10-10 00:53:57 +0200
commit4d843d2ce1e12525637e2a578896686a4efb9a55 (patch)
tree57ee3dd8a8c6d986005efa4bd071fef097bd25fb /app/views/notes
parente4aa5a5c8f9d8a4b556aeba003160017821ed9a3 (diff)
downloadgitlab-ce-4d843d2ce1e12525637e2a578896686a4efb9a55.tar.gz
Fix auto-completion for forms that are inserted with JS
Diffstat (limited to 'app/views/notes')
-rw-r--r--app/views/notes/_create_common_note.js.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/notes/_create_common_note.js.haml b/app/views/notes/_create_common_note.js.haml
index bbebc2478c5..e7df64c4c1e 100644
--- a/app/views/notes/_create_common_note.js.haml
+++ b/app/views/notes/_create_common_note.js.haml
@@ -10,4 +10,5 @@
- else
:plain
$(".note-form-holder").replaceWith("#{escape_javascript(render 'form')}");
+ setupGfmAutoComplete();