added file types to manager

This commit is contained in:
Harry Bomrah 2016-06-23 19:44:16 +08:00
parent adfa7cab83
commit 8d9892f73d
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ $(function () {
// Initialize the jQuery File Upload widget:
$('#fileupload').fileupload({
maxFileSize: 5000000,
acceptFileTypes: /(\.|\/)(gif|jpe?g|png|pdf|doc|docx|ppt|pptx|xls|xlsx)$/i,
acceptFileTypes: /(\.|\/)(gif|jpe?g|png|pdf|doc|docx|ppt|pptx|xls|xlsx|csv|txt|zip|rar|tar|gz|odt|tiff|key|page)$/i,
dropZone: $('#dropzone'),
headers:{
'X-CSRF-Token': $('meta[name="csrf-token"]').attr("content")