Merge pull request #1539 from NARKOZ/front-end
auto-complete for mentions in notes
This commit is contained in:
commit
8ec956421c
5 changed files with 10 additions and 0 deletions
|
@ -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 });
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue