Add author id to the right selector
This commit is contained in:
parent
06e473e2d9
commit
77a24965ca
1 changed files with 2 additions and 1 deletions
|
@ -12,6 +12,7 @@ class @UsersSelect
|
||||||
showNullUser = $dropdown.data('null-user')
|
showNullUser = $dropdown.data('null-user')
|
||||||
showAnyUser = $dropdown.data('any-user')
|
showAnyUser = $dropdown.data('any-user')
|
||||||
firstUser = $dropdown.data('first-user')
|
firstUser = $dropdown.data('first-user')
|
||||||
|
@authorId = $dropdown.data('author-id')
|
||||||
selectedId = $dropdown.data('selected')
|
selectedId = $dropdown.data('selected')
|
||||||
defaultLabel = $dropdown.data('default-label')
|
defaultLabel = $dropdown.data('default-label')
|
||||||
issueURL = $dropdown.data('issueUpdate')
|
issueURL = $dropdown.data('issueUpdate')
|
||||||
|
@ -212,7 +213,7 @@ class @UsersSelect
|
||||||
showAnyUser = $(select).data('any-user')
|
showAnyUser = $(select).data('any-user')
|
||||||
showEmailUser = $(select).data('email-user')
|
showEmailUser = $(select).data('email-user')
|
||||||
firstUser = $(select).data('first-user')
|
firstUser = $(select).data('first-user')
|
||||||
|
|
||||||
$(select).select2
|
$(select).select2
|
||||||
placeholder: "Search for a user"
|
placeholder: "Search for a user"
|
||||||
multiple: $(select).hasClass('multiselect')
|
multiple: $(select).hasClass('multiselect')
|
||||||
|
|
Loading…
Reference in a new issue