Pman.Request.js
authoredward <edward@roojs.com>
Tue, 3 May 2016 06:51:36 +0000 (14:51 +0800)
committeredward <edward@roojs.com>
Tue, 3 May 2016 06:51:36 +0000 (14:51 +0800)
Pman.Request.js

index 6eb9ee0..c54f43f 100644 (file)
@@ -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.