Merge pull request #1594 from riyad/fix-completion-for-per-line-forms
Fix completion for per line forms
This commit is contained in:
commit
5c8177ea6a
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue