Commit 5c8177ea authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #1594 from riyad/fix-completion-for-per-line-forms

Fix completion for per line forms
parents 3bcc39b4 f5a62835
......@@ -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,
......
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