diff --git a/weed/server/filer_ui/filer.html b/weed/server/filer_ui/filer.html index 90e3be39e..217802dd9 100644 --- a/weed/server/filer_ui/filer.html +++ b/weed/server/filer_ui/filer.html @@ -288,6 +288,11 @@ function uploadFile(file, i) { var url = window.location.href; var xhr = new XMLHttpRequest(); + xhr.onreadystatechange = function() { + if (xhr.readyState == XMLHttpRequest.DONE) { + location.reload(); + } + } var fileName = file.name; xhr.upload.addEventListener('progress', function(e) { if (e.lengthComputable) {