projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow override of content type to affect headers
[roojs1]
/
roojs-core-debug.js
diff --git
a/roojs-core-debug.js
b/roojs-core-debug.js
index
1b155c5
..
240f9be
100644
(file)
--- a/
roojs-core-debug.js
+++ b/
roojs-core-debug.js
@@
-11659,7
+11659,9
@@
Roo.extend(Roo.data.Connection, Roo.util.Observable, {
url += (url.indexOf('?') != -1 ? '&' : '?') + p;
p = '';
}
url += (url.indexOf('?') != -1 ? '&' : '?') + p;
p = '';
}
+ Roo.lib.Ajax.useDefaultHeader == typeof(o.headers['Content-Type']) == 'undefined';
this.transId = Roo.lib.Ajax.request(method, url, cb, p, o);
this.transId = Roo.lib.Ajax.request(method, url, cb, p, o);
+ Roo.lib.Ajax.useDefaultHeader == true;
return this.transId;
}else{
Roo.callback(o.callback, o.scope, [o, null, null]);
return this.transId;
}else{
Roo.callback(o.callback, o.scope, [o, null, null]);