diff options
author | Phil Hughes <me@iamphill.com> | 2016-03-08 14:58:14 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-03-10 16:54:54 +0300 |
commit | 2e3c082f2a07d93de2f552d6504f33204e93a447 (patch) | |
tree | 5379de262b4bdf87e688c94906e5a940fa5c6d16 /app/assets/javascripts/users_select.js.coffee | |
parent | 75b21ebd75ddf9afef6939d1af65219110f463cd (diff) |
Status dropdown
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 d4e41ffa5e0..2c6faf4bc18 100644 --- a/app/assets/javascripts/users_select.js.coffee +++ b/app/assets/javascripts/users_select.js.coffee @@ -53,7 +53,8 @@ class @UsersSelect selectable: true fieldName: $(dropdown).data('field-name') clicked: -> - $(dropdown).parents('form').submit() + if $(dropdown).hasClass "js-filter-submit" + $(dropdown).parents('form').submit() renderRow: (user) -> username = if user.username then "@#{user.username}" else "" avatar = if user.avatar_url then user.avatar_url else false |