mirror of
https://github.com/moodle/moodle.git
synced 2025-04-23 09:23:09 +02:00
Merge branch 'MDL-38033_dnd_uppercase_extn' of git://github.com/davosmith/moodle
This commit is contained in:
commit
8337ed1e69
@ -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++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user