1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Fixes #1437 - mp3 file-type was being rejected.

This commit is contained in:
Cameron 2016-03-18 16:15:52 -07:00
parent f01f426380
commit 0ffdc23c18

View File

@ -504,7 +504,7 @@ $(document).ready(function()
// General settings
runtimes : "html5,html4",
url : upath,
max_file_size : "10mb",
max_file_size : "20mb",
chunk_size : "1mb",
unique_names : false,
@ -514,8 +514,10 @@ $(document).ready(function()
// Specify what files to browse for
filters : [
{title : "Image files", extensions : extImg || "jpg,gif,png,jpeg"},
{title : "Zip files", extensions : extArchive || "zip,gz"},
{title : "Document files", extensions : extDoc || "pdf,doc,docx,xls,xlsm"}
{title : "Zip files", extensions : extArchive || "zip,gz,rar"},
{title : "Document files", extensions : extDoc || "pdf,doc,docx,xls,xlsm,xml"},
{title : "Media files", extensions: 'mp3,mp4,wav,ogg,webm,mid,midi,'},
{title : "Other files", extensions: 'torrent,txt'}
],
preinit : {
Init: function(up, info) {