cc-1710: Added more supported extensions to the allowed upload list
This commit is contained in:
parent
2b8bd2ffe9
commit
bed9989d2a
airtime_mvc/public/js/airtime/library
|
@ -9,7 +9,7 @@ $(document).ready(function() {
|
|||
unique_names: 'true',
|
||||
multiple_queues : 'true',
|
||||
filters : [
|
||||
{title: "Audio Files", extensions: "ogg,mp3"}
|
||||
{title: "Audio Files", extensions: "ogg,mp3,oga,flac,aac,bwf"}
|
||||
]
|
||||
});
|
||||
|
||||
|
@ -27,7 +27,9 @@ $(document).ready(function() {
|
|||
$("#plupload_error table").css("display", "inline-table");
|
||||
}else{
|
||||
var tempFileName = j.tempfilepath;
|
||||
$.get('/Plupload/copyfile/format/json/name/'+encodeURIComponent(file.name)+'/tempname/'+encodeURIComponent(tempFileName), function(json){
|
||||
$.get('/Plupload/copyfile/format/json/name/' +
|
||||
encodeURIComponent(file.name)+'/tempname/' +
|
||||
encodeURIComponent(tempFileName), function(json){
|
||||
var jr = jQuery.parseJSON(json);
|
||||
if(jr.error !== undefined) {
|
||||
var row = $("<tr/>")
|
||||
|
|
Loading…
Reference in New Issue