Browse Source

Rev4539, Add more extensions to UiFileManager binary files

pull/2614/merge
Tamas Kocsis 2 years ago
parent
commit
12013d64c8
  1. 2
      plugins/UiFileManager/media/js/FileList.coffee
  2. 4
      plugins/UiFileManager/media/js/all.js
  3. 2
      src/Config.py

2
plugins/UiFileManager/media/js/FileList.coffee

@ -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) ->

4
plugins/UiFileManager/media/js/all.js

@ -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 ---- */

2
src/Config.py

@ -14,7 +14,7 @@ class Config(object):
def __init__(self, argv):
self.version = "0.7.2"
self.rev = 4538
self.rev = 4539
self.argv = argv
self.action = None
self.test_parser = None

Loading…
Cancel
Save