diff --git a/research/static/research/js/research.js b/research/static/research/js/research.js index 37b48d94..d068df69 100644 --- a/research/static/research/js/research.js +++ b/research/static/research/js/research.js @@ -428,7 +428,19 @@ $(function () { browse(path) }) r.on('fileSuccess', function (file, message) { - $('#' + file.uniqueIdentifier + ' .msg').html("Upload complete") + try { + decodeURIComponent(escape(file.name)); + } catch (e) { + $('#' + file.uniqueIdentifier).prepend(` +