diff --git a/src/main/webapp/WEB-INF/jsp/include/tail.jsp b/src/main/webapp/WEB-INF/jsp/include/tail.jsp index a291a8a4..b9960687 100644 --- a/src/main/webapp/WEB-INF/jsp/include/tail.jsp +++ b/src/main/webapp/WEB-INF/jsp/include/tail.jsp @@ -22,7 +22,7 @@ - + diff --git a/src/main/webapp/resources/js/base/upload-support.js b/src/main/webapp/resources/js/base/upload-support.js deleted file mode 100644 index 0340eb87..00000000 --- a/src/main/webapp/resources/js/base/upload-support.js +++ /dev/null @@ -1,23 +0,0 @@ -function uploadSupport(selector) { - let input = $(selector); - if (!input) - throw "Element not found: " + selector; - - let fileset = new Dataset({ - keymapper: info => info.id - }); - - input.change(function() { - var files = $(this).get(0).files, - length = files.length, - array = [] - for (var i = 0; i < length; ++i) { - var file = files[i]; - file.id = "file-" + new Date().getTime() + "-" + i; - file.url = (window.URL || window.webkitURL).createObjectURL(file); - array.push(file); - } - fileset.setData(array); - }); - return fileset; -} \ No newline at end of file