diff options
author | Faruk Uzun <farukuzun@collabora.com> | 2016-01-18 01:38:53 +0200 |
---|---|---|
committer | Faruk Uzun <farukuzun@collabora.com> | 2016-02-08 05:52:44 +0200 |
commit | 0d3b33321052f69249d31b728d1a9318a17d165d (patch) | |
tree | 0deda5604e8023c307855b2a13d455a5f27c97c9 /core/js | |
parent | 47b1b67b4cb080075c4311854ad0672aad42a393 (diff) | |
download | nextcloud-server-0d3b33321052f69249d31b728d1a9318a17d165d.tar.gz nextcloud-server-0d3b33321052f69249d31b728d1a9318a17d165d.zip |
Introduce some mimetypes for richdocuments
* application/vnd.lotus-wordpro
* application/vnd.visio
* application/vnd.wordperfect
* application/msonenote
Backport of #21766
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/mimetypelist.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/js/mimetypelist.js b/core/js/mimetypelist.js index 43f01273f55..11f49e7db63 100644 --- a/core/js/mimetypelist.js +++ b/core/js/mimetypelist.js @@ -17,12 +17,14 @@ OC.MimeTypeList={ "application/json": "text/code", "application/msaccess": "file", "application/msexcel": "x-office/spreadsheet", + "application/msonenote": "x-office/document", "application/mspowerpoint": "x-office/presentation", "application/msword": "x-office/document", "application/octet-stream": "file", "application/postscript": "image", "application/rss+xml": "application/xml", "application/vnd.android.package-archive": "package/x-generic", + "application/vnd.lotus-wordpro": "x-office/document", "application/vnd.ms-excel": "x-office/spreadsheet", "application/vnd.ms-excel.addin.macroEnabled.12": "x-office/spreadsheet", "application/vnd.ms-excel.sheet.binary.macroEnabled.12": "x-office/spreadsheet", @@ -51,6 +53,8 @@ OC.MimeTypeList={ "application/vnd.openxmlformats-officedocument.spreadsheetml.template": "x-office/spreadsheet", "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "x-office/document", "application/vnd.openxmlformats-officedocument.wordprocessingml.template": "x-office/document", + "application/vnd.visio": "x-office/document", + "application/vnd.wordperfect": "x-office/document", "application/x-7z-compressed": "package/x-generic", "application/x-cbr": "text", "application/x-compressed": "package/x-generic", |