projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b1c2fe9
)
Roo/data/Connection.js
author
Alan Knowles
<alan@roojs.com>
Thu, 27 Dec 2018 07:31:04 +0000
(15:31 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 27 Dec 2018 07:31:04 +0000
(15:31 +0800)
Roo/data/Connection.js
patch
|
blob
|
history
diff --git
a/Roo/data/Connection.js
b/Roo/data/Connection.js
index
bf81b05
..
11a2678
100644
(file)
--- 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);