mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 05:38:52 +00: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:
commit
15dfa9bba2
1 changed files with 1 additions and 4 deletions
|
@ -253,10 +253,7 @@ phpbb.plupload.deleteFile = function(row, attachId) {
|
|||
};
|
||||
|
||||
var done = function(response) {
|
||||
var json = {};
|
||||
try {
|
||||
json = $.parseJSON(response);
|
||||
} catch (e) {
|
||||
if (typeof response !== 'object') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue