Commit 5c8177ea6a445d8f63840ae62d6f1d3666f5cc2c
Exists in
master
and in
4 other branches
Merge pull request #1594 from riyad/fix-completion-for-per-line-forms
Fix completion for per line forms
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/notes/_common_form.html.haml
@@ -41,7 +41,7 @@ | @@ -41,7 +41,7 @@ | ||
41 | $(function(){ | 41 | $(function(){ |
42 | var names = #{@project.users.pluck(:name)}, emoji = ['+1', '-1']; | 42 | var names = #{@project.users.pluck(:name)}, emoji = ['+1', '-1']; |
43 | var emoji = $.map(emoji, function(value, i) {return {key:value + ':', name:value}}); | 43 | var emoji = $.map(emoji, function(value, i) {return {key:value + ':', name:value}}); |
44 | - $('#note_note'). | 44 | + $('#note_note, .per_line_form .line-note-text'). |
45 | atWho('@', { data: names }). | 45 | atWho('@', { data: names }). |
46 | atWho(':', { | 46 | atWho(':', { |
47 | data: emoji, | 47 | data: emoji, |