X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=Pman.js;h=41bad06d3be441a81c615146db5db9abe41d49cb;hp=1fcd8430a2995a398205f5617b47b35676de9eaf;hb=7e9cdd246cc8bba1ce46a4db263a0f49b7cbc5a0;hpb=d79f1b0b766ed571150c04e2a102c10a52a0bfba diff --git a/Pman.js b/Pman.js index 1fcd8430..41bad06d 100644 --- a/Pman.js +++ b/Pman.js @@ -417,13 +417,14 @@ Pman = new Roo.Document( onLoadTrackCall : function(id,cb, cls) { Roo.get(document.body).mask("Loading Document details"); - Pman.request({ + new Pman.Request({ url: baseURL + '/Roo/Documents.html', params: { _id: id }, method: 'GET', - success : function(data) { + success : function(res) { + var data = res.data; Roo.get(document.body).unmask(); @@ -562,7 +563,7 @@ Pman = new Roo.Document( tab.grid.getView().mainWrap.mask("Deleting"); new Pman.Request({ url: baseURL + '/Roo/'+tbl+'.php', - method: 'GET', + method: 'POST', params: { _delete : r.join(',') },