Fix import button in onlyoffice

pull/1/head
yflory 5 years ago
parent 4a2b0fc114
commit 009bbd69bd

@ -1398,6 +1398,7 @@ define([
var $exportXLSX = common.createButton('export', true, {}, exportXLSXFile);
$exportXLSX.appendTo($rightside);
var type = common.getMetadataMgr().getPrivateData().ooType;
var accept = [".bin", ".ods", ".xlsx"];
if (type === "ooslide") {
accept = ['.bin', '.odp', '.pptx'];

Loading…
Cancel
Save