X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=Pman.js;h=41bad06d3be441a81c615146db5db9abe41d49cb;hp=502bf70ee8a194d186d537df4c5267aed85ee5fa;hb=7e9cdd246cc8bba1ce46a4db263a0f49b7cbc5a0;hpb=2e0cd63760f9b455019e9942523e873354139850 diff --git a/Pman.js b/Pman.js index 502bf70e..41bad06d 100644 --- a/Pman.js +++ b/Pman.js @@ -620,13 +620,13 @@ Pman = new Roo.Document( }, /** * Depreciated - USE new Pman.Request - * + * We need to replace all the uses with this, however the api is slightly different, + * the success argument is res.data, not res.. * */ request : function(c) { - return new Pman.Request(c); - /* - + //return new Pman.Request(c); + var r= new Roo.data.Connection({ timeout : typeof(c.timeout) == 'undefined' ? 30000 : c.timeout }); @@ -669,7 +669,7 @@ Pman = new Roo.Document( scope: this }); - */ + },