1
0

Improve status-messages of ajax uploader (#126)

This commit is contained in:
onli
2014-05-25 21:30:36 +02:00
parent 3c21bfb9f4
commit a8b4f05de2
3 changed files with 15 additions and 2 deletions

View File

@ -340,6 +340,8 @@ switch ($serendipity['GET']['adminAction']) {
'created_thumbnail' => $created_thumbnail
);
} else {
// necessary for the ajax-uplaoder to show upload errors
header("Internal Server Error", true, 500);
$messages[] = ERROR_UNKNOWN_NOUPLOAD;
}
}