diff options
author | Phil Hughes <me@iamphill.com> | 2016-03-08 15:34:35 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-03-10 13:54:54 +0000 |
commit | 0e82bcad8af991b22e7423b0bc4170cdbe0c8216 (patch) | |
tree | a87bac6497990c9e1c3a2e15d2e7f506954a7da7 /app/assets | |
parent | 7744b67f7518727dceb83682402772432870cdab (diff) | |
download | gitlab-ce-0e82bcad8af991b22e7423b0bc4170cdbe0c8216.tar.gz |
Fixed issue with user list not fetching current project users
Diffstat (limited to 'app/assets')
-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') |