Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
MDL-13766, remove ajax header setting, which broke mahara plugin.
  • Loading branch information
Dongsheng Cai committed Jul 6, 2010
1 parent 505ab5a commit bd2db41
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions repository/filepicker.js
Expand Up @@ -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
Expand Down

0 comments on commit bd2db41

Please sign in to comment.