Rename and delete actions working ...

This commit is contained in:
Paulo Gustavo Veiga
2012-05-23 20:05:16 -03:00
parent 391c523b43
commit 5498c681a4
8 changed files with 284 additions and 219 deletions

View File

@@ -33,7 +33,7 @@ mindplot.RESTPersistenceManager = new Class({
};
var request = new Request({
url:this.saveUrl + mapId + "?minor=" + !saveHistory,
url:this.saveUrl.replace("{id}", mapId) + "?minor=" + !saveHistory,
method: 'put',
onSuccess:function(responseText, responseXML) {
events.onSuccess();