From f5a62835bb43a3cae325337b84813225b67e7651 Mon Sep 17 00:00:00 2001 From: Riyad Preukschas Date: Sun, 30 Sep 2012 12:07:45 +0200 Subject: Fix completion for per line forms --- app/views/notes/_common_form.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/notes/_common_form.html.haml b/app/views/notes/_common_form.html.haml index 626a448c229..adaad9ecec7 100644 --- a/app/views/notes/_common_form.html.haml +++ b/app/views/notes/_common_form.html.haml @@ -41,7 +41,7 @@ $(function(){ var names = #{@project.users.pluck(:name)}, emoji = ['+1', '-1']; var emoji = $.map(emoji, function(value, i) {return {key:value + ':', name:value}}); - $('#note_note'). + $('#note_note, .per_line_form .line-note-text'). atWho('@', { data: names }). atWho(':', { data: emoji, -- cgit v1.2.1