summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-08 15:34:35 +0000
committerPhil Hughes <me@iamphill.com>2016-03-10 13:54:54 +0000
commit0e82bcad8af991b22e7423b0bc4170cdbe0c8216 (patch)
treea87bac6497990c9e1c3a2e15d2e7f506954a7da7 /app/assets
parent7744b67f7518727dceb83682402772432870cdab (diff)
downloadgitlab-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.coffee3
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')