Commit a0ce5f1f authored by Alexey.Musinov's avatar Alexey.Musinov

table styles for ios

parent a0ba696b
...@@ -7737,6 +7737,22 @@ window["Asc"]["spreadsheet_api"].prototype.openDocument = function(sData) { ...@@ -7737,6 +7737,22 @@ window["Asc"]["spreadsheet_api"].prototype.openDocument = function(sData) {
t.wb = new AscCommonExcel.WorkbookView(t.wbModel, t.controller, t.handlers, t.wb = new AscCommonExcel.WorkbookView(t.wbModel, t.controller, t.handlers,
window["_null_object"], window["_null_object"], t, window["_null_object"], window["_null_object"], t,
t.collaborativeEditing, t.fontRenderingMode); t.collaborativeEditing, t.fontRenderingMode);
t.openDocumentFromZip(t.wbModel, AscCommon.g_oDocumentUrls.getUrl('Editor.xlsx')).then(function() {
t.FontLoader.LoadDocumentFonts(t.wbModel.generateFontMap2());
// Какая-то непонятная заглушка, чтобы не падало в ipad
if (t.isMobileVersion) {
AscCommon.AscBrowser.isSafariMacOs = false;
AscCommon.PasteElementsId.PASTE_ELEMENT_ID = "wrd_pastebin";
AscCommon.PasteElementsId.ELEMENT_DISPAY_STYLE = "none";
}
}).catch(function(err) {
if (window.console && window.console.log) {
window.console.log(err);
}
t.sendEvent('asc_onError', c_oAscError.ID.Unknown, c_oAscError.Level.Critical);
});
t.DocumentLoadComplete = true; t.DocumentLoadComplete = true;
if (!sdkCheck) { if (!sdkCheck) {
......
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