Skip to content
Snippets Groups Projects
Verified Commit 440c04b5 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Merge branch 'release/0.3.4'

parents 9ecb2bdf 83f3fddd
No related branches found
No related tags found
No related merge requests found
...@@ -2,13 +2,17 @@ Changelog ...@@ -2,13 +2,17 @@ Changelog
========= =========
0.3.4 (Unreleased) 0.3.5 (Unreleased)
------------------ ------------------
0.3.4 (2018-01-07)
------------------
- Fixed wrong URL construction in ajax call
0.3.4 (2018-01-07)
0.3.3 (2018-01-07)
------------------ ------------------
- Users can now create their own dynamic radios (#51) - Users can now create their own dynamic radios (#51)
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
__version__ = '0.3.3' __version__ = '0.3.4'
__version_info__ = tuple([int(num) if num.isdigit() else num for num in __version__.replace('-', '.', 1).split('.')]) __version_info__ = tuple([int(num) if num.isdigit() else num for num in __version__.replace('-', '.', 1).split('.')])
...@@ -112,8 +112,9 @@ export default { ...@@ -112,8 +112,9 @@ export default {
selector.push('.autocomplete') selector.push('.autocomplete')
settings.fields = f.autocomplete_fields settings.fields = f.autocomplete_fields
settings.minCharacters = 1 settings.minCharacters = 1
let backendUrl = config.BACKEND_URL || window.location.protocol + '//' + window.location.hostname + ':' + window.location.port
settings.apiSettings = { settings.apiSettings = {
url: config.BACKEND_URL + f.autocomplete + '?' + f.autocomplete_qs, url: backendUrl + f.autocomplete + '?' + f.autocomplete_qs,
beforeXHR: function (xhrObject) { beforeXHR: function (xhrObject) {
xhrObject.setRequestHeader('Authorization', self.$store.getters['auth/header']) xhrObject.setRequestHeader('Authorization', self.$store.getters['auth/header'])
return xhrObject return xhrObject
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment