Front: Fixed broken ajax call on radio builder (#69)

This commit is contained in:
Eliot Berriot 2018-02-24 17:22:40 +01:00
parent c6b965c8e2
commit d1df33544e
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ Changelog
0.6 (Unreleased)
----------------
- Front: Fixed broken ajax call on radio builder (#69)
0.5 (2018-02-24)
----------------

View File

@ -114,7 +114,7 @@ export default {
settings.fields = f.autocomplete_fields
settings.minCharacters = 1
settings.apiSettings = {
url: config.BACKEND_URL + f.autocomplete + '?' + f.autocomplete_qs,
url: f.autocomplete + '?' + f.autocomplete_qs,
beforeXHR: function (xhrObject) {
xhrObject.setRequestHeader('Authorization', self.$store.getters['auth/header'])
return xhrObject