Commit 917d126d authored by Oleg Korshul's avatar Oleg Korshul Committed by Alexander.Trofimov

config

parent ef389e8d
...@@ -287,12 +287,12 @@ function NativeOpenFileData(data, version) ...@@ -287,12 +287,12 @@ function NativeOpenFileData(data, version)
if (window.NATIVE_DOCUMENT_TYPE == "presentation" || window.NATIVE_DOCUMENT_TYPE == "document") if (window.NATIVE_DOCUMENT_TYPE == "presentation" || window.NATIVE_DOCUMENT_TYPE == "document")
{ {
_api = new window["Asc"]["asc_docs_api"](""); _api = new window["Asc"]["asc_docs_api"]({});
_api.asc_nativeOpenFile(data, version); _api.asc_nativeOpenFile(data, version);
} }
else else
{ {
_api = new window["Asc"]["spreadsheet_api"](); _api = new window["Asc"]["spreadsheet_api"]({});
_api.asc_nativeOpenFile(data, version); _api.asc_nativeOpenFile(data, version);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment