mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge pull request #3791 from prototech/ticket/14049
[ticket/14049] Use headers from config when sending Plupload delete request. * prototech/ticket/14049: [ticket/14049] Use headers from config when sending Plupload delete request.
This commit is contained in:
commit
e7c6c3f02b
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ phpbb.plupload.deleteFile = function(row, attachId) {
|
|||
$.ajax(phpbb.plupload.config.url, {
|
||||
type: 'POST',
|
||||
data: $.extend(fields, phpbb.plupload.getSerializedData()),
|
||||
headers: { 'X-PHPBB-USING-PLUPLOAD': '1', 'X-Requested-With': 'XMLHttpRequest' }
|
||||
headers: phpbb.plupload.config.headers
|
||||
})
|
||||
.always(always)
|
||||
.done(done);
|
||||
|
|
Loading…
Add table
Reference in a new issue