From: edward Date: Tue, 3 May 2016 06:51:36 +0000 (+0800) Subject: Pman.Request.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=96953ed9adff864a99b886b37cf07b56fc3694ee Pman.Request.js --- diff --git a/Pman.Request.js b/Pman.Request.js index 6eb9ee04..c54f43f9 100644 --- a/Pman.Request.js +++ b/Pman.Request.js @@ -25,6 +25,7 @@ var t = new Pman.Request({ * request, a url encoded string or a function to call to get either. * @cfg {Function} success called with ( JSON decoded data of the data.. ) * @cfg {Function} success called with ( JSON decoded data of the data.. ) +* @cfg {Boolean} showFailtureDialog (true|false) default true */ Pman.Request = function(config){ @@ -42,6 +43,8 @@ Pman.Request = function(config){ Roo.extend(Pman.Request, Roo.data.Connection, { // private + showFailtureDialog : true, + processResponse : function(response) { // convert the Roo Connection response into JSON data.