|
|
@ -1399,10 +1399,18 @@ define([
|
|
|
|
$exportXLSX.appendTo($rightside);
|
|
|
|
$exportXLSX.appendTo($rightside);
|
|
|
|
|
|
|
|
|
|
|
|
var accept = [".bin", ".ods", ".xlsx"];
|
|
|
|
var accept = [".bin", ".ods", ".xlsx"];
|
|
|
|
|
|
|
|
if (type === "ooslide") {
|
|
|
|
|
|
|
|
accept = ['.bin', '.odp', '.pptx'];
|
|
|
|
|
|
|
|
} else if (type === "oodoc") {
|
|
|
|
|
|
|
|
accept = ['.bin', '.odt', '.docx'];
|
|
|
|
|
|
|
|
}
|
|
|
|
if (typeof(Atomics) === "undefined") {
|
|
|
|
if (typeof(Atomics) === "undefined") {
|
|
|
|
accept = ['.bin'];
|
|
|
|
accept = ['.bin'];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
var $importXLSX = common.createButton('import', true, { accept: accept, binary : ["ods", "xlsx"] }, importXLSXFile);
|
|
|
|
var $importXLSX = common.createButton('import', true, {
|
|
|
|
|
|
|
|
accept: accept,
|
|
|
|
|
|
|
|
binary : ["ods", "xlsx", "odt", "docx", "odp", "pptx"]
|
|
|
|
|
|
|
|
}, importXLSXFile);
|
|
|
|
$importXLSX.appendTo($rightside);
|
|
|
|
$importXLSX.appendTo($rightside);
|
|
|
|
|
|
|
|
|
|
|
|
if (common.isLoggedIn()) {
|
|
|
|
if (common.isLoggedIn()) {
|
|
|
|