mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 17:06:31 -06:00
Merge branch 'master' of github.com:discourse/discourse
This commit is contained in:
commit
3047d8afa3
@ -129,7 +129,7 @@ window.Discourse.ComposerView = window.Discourse.View.extend
|
||||
Discourse.UserSearch.search
|
||||
term: term,
|
||||
callback: callback,
|
||||
exclude: selected
|
||||
exclude: selected.concat [Discourse.get('currentUser.username')]
|
||||
onChangeItems: (items) =>
|
||||
items = $.map items, (i) -> if i.username then i.username else i
|
||||
@set('content.targetUsernames', items.join(","))
|
||||
|
Loading…
Reference in New Issue
Block a user