MDL-13766, remove ajax header setting, which broke mahara plugin.

This commit is contained in:
Dongsheng Cai 2010-07-06 08:28:26 +00:00
parent 505ab5aaa0
commit bd2db41a92

View File

@ -140,8 +140,7 @@ M.core_filepicker.init = function(Y, options) {
scope: scope
},
headers: {
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
'User-Agent': 'MoodleFilePicker/3.0'
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
},
data: build_querystring(params),
context: this