From 829b2b77b977102c4df0c1657b1bd7bc68c876ba Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Sat, 7 Jan 2017 21:21:21 +0100 Subject: [PATCH] add rtf and txt as supported file formats --- js/viewer/viewer.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/js/viewer/viewer.js b/js/viewer/viewer.js index 590801fe..88363694 100644 --- a/js/viewer/viewer.js +++ b/js/viewer/viewer.js @@ -12,6 +12,9 @@ var odfViewer = { 'application/vnd.wordperfect', 'application/msonenote', 'application/msword', + 'application/rtf', + 'text/rtf', + 'text/plain', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/vnd.openxmlformats-officedocument.wordprocessingml.template', 'application/vnd.ms-word.document.macroEnabled.12', @@ -244,4 +247,4 @@ $(document).ready(function() { $('#content').removeClass('loading'); } }, false); -}); \ No newline at end of file +});