Minor fix.

This commit is contained in:
Paulo Gustavo Veiga 2013-02-20 14:20:11 -03:00
parent d2b7b640d9
commit efe562f057

View File

@ -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"},