Permalink
Browse files

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

…vosmith/moodle into MOODLE_24_STABLE
  • Loading branch information...
stronk7 committed Feb 19, 2013
2 parents 8fbdd7c + aea372a commit b5476a34bc53e3e87e21819ed06f4ae8f30f9e85
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/dndupload.js
View
@@ -549,7 +549,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 b5476a3

Please sign in to comment.