Skip to content
Browse files

Merge branch 'MDL-38033_dnd_uppercase_extn_23' of git://github.com/da…

…vosmith/moodle into MOODLE_23_STABLE
  • Loading branch information...
2 parents aa38d80 + 7d7b959 commit f5d26c95e8cd6665e96c3aaf90e90a6f73d92f99 @stronk7 stronk7 committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/dndupload.js
View
2 course/dndupload.js
@@ -548,7 +548,7 @@ M.course_dndupload = {
var extension = '';
var dotpos = file.name.lastIndexOf('.');
if (dotpos != -1) {
- extension = file.name.substr(dotpos+1, file.name.length);
+ extension = file.name.substr(dotpos+1, file.name.length).toLowerCase();
}
for (var i=0; i<filehandlers.length; i++) {

0 comments on commit f5d26c9

Please sign in to comment.
Something went wrong with that request. Please try again.