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:
Paulo Gustavo Veiga
2012-02-20 11:32:37 -03:00
parent 95aa9f18eb
commit ae43a27dd2
17 changed files with 102 additions and 187 deletions

View File

@@ -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) {