diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-11-17 15:36:34 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-11-17 15:36:34 +1300 |
commit | 58e1f370c568af64a1dcbd9af1d5541b0e9314ed (patch) | |
tree | 73f80cf7c33d19b996e8a4e91d47098e8e1976f6 /web/app/view/map | |
parent | 62db06b85439b21a7851016f3e9c17f0abfe7185 (diff) | |
download | trackermap-web-58e1f370c568af64a1dcbd9af1d5541b0e9314ed.tar.gz trackermap-web-58e1f370c568af64a1dcbd9af1d5541b0e9314ed.tar.bz2 trackermap-web-58e1f370c568af64a1dcbd9af1d5541b0e9314ed.zip |
Unescape HTML in some cases
Diffstat (limited to 'web/app/view/map')
-rw-r--r-- | web/app/view/map/BaseMap.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/web/app/view/map/BaseMap.js b/web/app/view/map/BaseMap.js index 26b9f7c1..67e08f68 100644 --- a/web/app/view/map/BaseMap.js +++ b/web/app/view/map/BaseMap.js @@ -41,8 +41,7 @@ Ext.define('Traccar.view.map.BaseMap', { case 'custom': layer = new ol.layer.Tile({ source: new ol.source.XYZ({ - url: new DOMParser() - .parseFromString(server.get('mapUrl'), 'text/html').documentElement.textContent, + url: Ext.String.htmlDecode(server.get('mapUrl')), attributions: '' }) }); |