Fix import button in onlyoffice

pull/1/head
yflory 2020-01-24 16:25:47 +01:00
parent 4a2b0fc114
commit 009bbd69bd
1 changed files with 1 additions and 0 deletions

View File

@ -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'];