diff options
Diffstat (limited to 'app/assets/javascripts/users_select.js.coffee')
-rw-r--r-- | app/assets/javascripts/users_select.js.coffee | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/users_select.js.coffee b/app/assets/javascripts/users_select.js.coffee index 2c6faf4bc18..987c6f4b8d2 100644 --- a/app/assets/javascripts/users_select.js.coffee +++ b/app/assets/javascripts/users_select.js.coffee @@ -4,7 +4,8 @@ class @UsersSelect @userPath = "/autocomplete/users/:id.json" $('.js-user-search').each (i, dropdown) => - projectId = $(dropdown).data('project-id') + @projectId = $(dropdown).data('project-id') + @showCurrentUser = $(dropdown).data('current-user') showNullUser = $(dropdown).data('null-user') showAnyUser = $(dropdown).data('any-user') firstUser = $(dropdown).data('first-user') |