Rev4539, Add more extensions to UiFileManager binary files
This commit is contained in:
parent
54fb2fde7c
commit
12013d64c8
3 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
BINARY_EXTENSIONS = ["png", "gif", "jpg", "pdf", "doc", "msgpack", "zip", "rar", "gz", "tar", "exe"]
|
||||
BINARY_EXTENSIONS = ["png", "gif", "jpg", "pdf", "doc", "msgpack", "zip", "rar", "gz", "tar", "exe", "wav", "ogg", "ogm", "oga", "ogv", "mp3"]
|
||||
|
||||
class FileList extends Class
|
||||
constructor: (@site, @inner_path, @is_owner=false) ->
|
||||
|
|
|
@ -2187,7 +2187,6 @@
|
|||
|
||||
}).call(this);
|
||||
|
||||
|
||||
/* ---- FileItemList.coffee ---- */
|
||||
|
||||
|
||||
|
@ -2483,7 +2482,7 @@
|
|||
hasProp = {}.hasOwnProperty,
|
||||
indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
|
||||
|
||||
BINARY_EXTENSIONS = ["png", "gif", "jpg", "pdf", "doc", "msgpack", "zip", "rar", "gz", "tar", "exe"];
|
||||
BINARY_EXTENSIONS = ["png", "gif", "jpg", "pdf", "doc", "msgpack", "zip", "rar", "gz", "tar", "exe", "wav", "ogg", "ogm", "oga", "ogv", "mp3"];
|
||||
|
||||
FileList = (function(superClass) {
|
||||
extend(FileList, superClass);
|
||||
|
@ -2906,6 +2905,7 @@
|
|||
|
||||
}).call(this);
|
||||
|
||||
|
||||
/* ---- UiFileManager.coffee ---- */
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue