Index: lams_admin/web/import/importexcel.jsp =================================================================== diff -u -re88830091139dd447cdd6a7f30c129c777104dac -rbc66c534c18e8e49ce8ed510418400cbc56fd605 --- lams_admin/web/import/importexcel.jsp (.../importexcel.jsp) (revision e88830091139dd447cdd6a7f30c129c777104dac) +++ lams_admin/web/import/importexcel.jsp (.../importexcel.jsp) (revision bc66c534c18e8e49ce8ed510418400cbc56fd605) @@ -68,17 +68,7 @@ // its format is: upload__ 'tmpFileUploadId' : tmpFileUploadId, 'largeFilesAllowed' : true - }, - onBeforeFileAdded: function(currentFile, files) { - var name = currentFile.data.name, - extensionIndex = name.lastIndexOf('.'), - valid = allowedFileTypes.includes(name.substring(extensionIndex).trim()); - if (!valid) { - uppy.info('', 'error', 10000); - } - - return valid; - } + } }; switch(language) {