mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-21 18:58:53 +00:00
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/12375] Fix broken attachment deletion.
This commit is contained in:
commit
52f415cfdc
1 changed files with 1 additions and 4 deletions
|
@ -253,10 +253,7 @@ phpbb.plupload.deleteFile = function(row, attachId) {
|
||||||
};
|
};
|
||||||
|
|
||||||
var done = function(response) {
|
var done = function(response) {
|
||||||
var json = {};
|
if (typeof response !== 'object') {
|
||||||
try {
|
|
||||||
json = $.parseJSON(response);
|
|
||||||
} catch (e) {
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue