Skip to content
Permalink
Browse files

MDL-38033 dndupload - ignore case when comparing dropped file extensi…

…ons with those supported by activity modules
  • Loading branch information...
davosmith committed Feb 14, 2013
1 parent 1dd6835 commit 04a38bd311beb870d750b4a4d6e3c625a9019846
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/dndupload.js
@@ -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 04a38bd

Please sign in to comment.
You can’t perform that action at this time.