summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorJacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home>2016-03-15 18:26:50 -0400
committerJacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home>2016-03-25 08:07:57 -0400
commit74c7a537eda71ba8b08f56edacee56e09d5c1004 (patch)
treeb9bca6cc6df3e298bc01f54ed25f575adc15d801 /app/assets
parent9da87709c46f5b2d14dceaae8f97b38f94189b89 (diff)
downloadgitlab-ce-74c7a537eda71ba8b08f56edacee56e09d5c1004.tar.gz
Adding dropdown for users
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/users_select.js.coffee2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/users_select.js.coffee b/app/assets/javascripts/users_select.js.coffee
index 84193400890..fe4a54e07e1 100644
--- a/app/assets/javascripts/users_select.js.coffee
+++ b/app/assets/javascripts/users_select.js.coffee
@@ -71,6 +71,8 @@ class @UsersSelect
Issues.filterResults $dropdown.closest('form')
else if $dropdown.hasClass 'js-filter-submit'
$dropdown.closest('form').submit()
+ else
+ console.log 'else'
renderRow: (user) ->
username = if user.username then "@#{user.username}" else ""
avatar = if user.avatar_url then user.avatar_url else false