Merge pull request #1539 from NARKOZ/front-end

auto-complete for mentions in notes
This commit is contained in:
Dmitriy Zaporozhets 2012-09-24 06:02:34 -07:00
commit 8ec956421c
5 changed files with 10 additions and 0 deletions

View file

@ -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 });
});