All the resources of the editor asume that the resources css,js and images are relative to /. The base parameter could be used to change the default location.
This commit is contained in:
@@ -32,7 +32,7 @@ mindplot.LocalStorageManager = new Class({
|
||||
if (xml == null) {
|
||||
// Let's try to open one from the local directory ...
|
||||
var xmlRequest = new Request({
|
||||
url: '../samples/' + mapId + '.xml',
|
||||
url: 'samples/' + mapId + '.xml',
|
||||
method: 'get',
|
||||
async: false,
|
||||
onSuccess: function(responseText) {
|
||||
|
Reference in New Issue
Block a user