diff options
Diffstat (limited to 'files/js/files.js')
-rw-r--r-- | files/js/files.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/js/files.js b/files/js/files.js index ba08e254349..9eeeb7f6bfd 100644 --- a/files/js/files.js +++ b/files/js/files.js @@ -53,7 +53,7 @@ function uploadFinished() { result = $('#file_upload_target').contents().text(); result = eval("(" + result + ");"); if(result.status == "error") { - alert('An error occcured, upload failed.'); + alert('An error occcured, upload failed.\nError code: ' + result.data.error); } else { location.href = 'index.php?dir=' + $('#dir').val(); } |