X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-core-debug.js;h=5ab13f372163fbd51fb13934fc56a26bdd4ac92e;hb=8e14c8ef3efd1f2f3b338a2dab38bcaad003d8c2;hp=1b155c5399e0ee6b62f5ea2328cefa36beac3ede;hpb=60cf0ab490438ca1a26ac86abbf34b5fbcbf6560;p=roojs1 diff --git a/roojs-core-debug.js b/roojs-core-debug.js index 1b155c5399..5ab13f3721 100644 --- 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 = ''; } + Roo.lib.Ajax.useDefaultHeader = typeof(o.headers) == 'undefined' || typeof(o.headers['Content-Type']) == 'undefined'; 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]);