mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Merge branch '3.1.x'
* 3.1.x: [ticket/14049] Use headers from config when sending Plupload delete request. [ticket/14010] Update Plupload from 2.1.2 to 2.1.8.
This commit is contained in:
commit
50cf610eb6
2 changed files with 10 additions and 9 deletions
|
@ -281,7 +281,7 @@ phpbb.plupload.deleteFile = function(row, attachId) {
|
||||||
$.ajax(phpbb.plupload.config.url, {
|
$.ajax(phpbb.plupload.config.url, {
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
data: $.extend(fields, phpbb.plupload.getSerializedData()),
|
data: $.extend(fields, phpbb.plupload.getSerializedData()),
|
||||||
headers: { 'X-PHPBB-USING-PLUPLOAD': '1', 'X-Requested-With': 'XMLHttpRequest' }
|
headers: phpbb.plupload.config.headers
|
||||||
})
|
})
|
||||||
.always(always)
|
.always(always)
|
||||||
.done(done);
|
.done(done);
|
||||||
|
|
17
phpBB/assets/plupload/plupload.full.min.js
vendored
17
phpBB/assets/plupload/plupload.full.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue