Commit f5a62835 authored by Riyad Preukschas's avatar Riyad Preukschas

Fix completion for per line forms

parent 3bcc39b4
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
$(function(){ $(function(){
var names = #{@project.users.pluck(:name)}, emoji = ['+1', '-1']; var names = #{@project.users.pluck(:name)}, emoji = ['+1', '-1'];
var emoji = $.map(emoji, function(value, i) {return {key:value + ':', name:value}}); 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: names }).
atWho(':', { atWho(':', {
data: emoji, data: emoji,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment