Commit 9c75fcbe authored by Nihad Abbasov's avatar Nihad Abbasov

auto complete team member mentions

parent 80bcba4e
......@@ -37,3 +37,8 @@
= f.file_field :attachment, class: "input-file"
%span.hint Any file less than 10 MB
:javascript
$(function(){
var names = #{@project.users.pluck(:name)};
$('.note-text').atWho('@', { data: names });
});
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