From e8f6e9150f5aafdd6fc6a186bc479262d2b3311e Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 27 Dec 2018 15:31:04 +0800 Subject: [PATCH] Roo/data/Connection.js --- Roo/data/Connection.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Roo/data/Connection.js b/Roo/data/Connection.js index bf81b05bff..11a2678d41 100644 --- a/Roo/data/Connection.js +++ b/Roo/data/Connection.js @@ -352,9 +352,7 @@ Roo.extend(Roo.data.Connection, Roo.util.Observable, { argument: {options: o}, timeout : o.timeout || this.timeout }; - - var method = "POST"; - + if(typeof o.autoAbort == 'boolean'){ // options gets top priority if(o.autoAbort){ this.abort(); @@ -364,7 +362,7 @@ Roo.extend(Roo.data.Connection, Roo.util.Observable, { } - this.transId = Roo.lib.Ajax.request(method, url, cb, o.formData, o); + this.transId = Roo.lib.Ajax.request( "POST", url, cb, o.formData, o); -- 2.39.2