mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Merge branch 'MDL-38033_dnd_uppercase_extn_23' of git://github.com/davosmith/moodle into MOODLE_23_STABLE
This commit is contained in:
commit
f5d26c95e8
1 changed files with 1 additions and 1 deletions
|
@ -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++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue