X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-debug.js;h=225968839ea01895f36b3cad8b663e4784252626;hb=8e14c8ef3efd1f2f3b338a2dab38bcaad003d8c2;hp=130983fd41fb57aacdeb475236577cb9a4064767;hpb=c5c497557c3d3e1b40e4f1b17296572cae125abc;p=roojs1 diff --git a/roojs-debug.js b/roojs-debug.js index 130983fd41..225968839e 100644 --- a/roojs-debug.js +++ b/roojs-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]);