mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 03:22:37 +02:00
Merge remote-tracking branch 'prototech/ticket/12375' into develop-ascraeus
* prototech/ticket/12375: [ticket/12375] Fix broken attachment deletion.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user