mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-09 12:46:07 +10:00
Merge branch 'fix-user-autocomplete' into 'master'
Fixes problem with user autocomplete URI ``` Failed to load resource: net::ERR_NAME_NOT_RESOLVED http://autocomplete/users.json?search=&per_page=20&active=true¤t_user=false ``` Fixes #4118, #4136 See merge request !2136
This commit is contained in:
@@ -117,5 +117,5 @@ class @UsersSelect
|
||||
callback(users)
|
||||
|
||||
buildUrl: (url) ->
|
||||
url = gon.relative_url_root + url if gon.relative_url_root?
|
||||
url = gon.relative_url_root.replace(/\/$/, '') + url if gon.relative_url_root?
|
||||
return url
|
||||
|
||||
Reference in New Issue
Block a user