mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
MDL-13766, remove ajax header setting, which broke mahara plugin.
This commit is contained in:
parent
505ab5aaa0
commit
bd2db41a92
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user