add rtf and txt as supported file formats

(cherry picked from commit 829b2b77b9)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
pull/61/head
Andras Timar 7 years ago
parent bf72f5b01d
commit f74b0b3018

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

Loading…
Cancel
Save