mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 14:17:57 +01:00
Minor fix.
This commit is contained in:
parent
d2b7b640d9
commit
efe562f057
@ -34,7 +34,7 @@ mindplot.LocalStorageManager = new Class({
|
|||||||
|
|
||||||
loadMapDom:function (mapId) {
|
loadMapDom:function (mapId) {
|
||||||
var xml = localStorage.getItem(mapId + "-xml");
|
var xml = localStorage.getItem(mapId + "-xml");
|
||||||
if (xml == null || forceLoad) {
|
if (xml == null || this.forceLoad) {
|
||||||
var xmlRequest = new Request({
|
var xmlRequest = new Request({
|
||||||
url:this.documentUrl.replace("{id}", mapId),
|
url:this.documentUrl.replace("{id}", mapId),
|
||||||
headers:{"Content-Type":"text/plain","Accept":"application/xml"},
|
headers:{"Content-Type":"text/plain","Accept":"application/xml"},
|
||||||
|
Loading…
Reference in New Issue
Block a user