Commit da178e3b authored by Oleg Korshul's avatar Oleg Korshul

mobileversion

parent ea8749a3
......@@ -3211,6 +3211,9 @@ var editor;
spreadsheet_api.prototype._onEndLoadSdk = function() {
History = AscCommon.History;
if (this.isMobileVersion)
this.asc_setMobileVersion(true);
spreadsheet_api.superclass._onEndLoadSdk.call(this);
this.controller = new AscCommonExcel.asc_CEventsController();
......
......@@ -44,7 +44,7 @@ function baseEditorsApi(config, editorId) {
this.HtmlElementName = config['id-view'] || '';
this.HtmlElement = null;
this.isMobileVersion = false;
this.isMobileVersion = (config['mobile'] === true) ? true : false;
this.isViewMode = false;
......
......@@ -5200,6 +5200,9 @@ asc_docs_api.prototype._onEndLoadSdk = function() {
}
}
if (this.isMobileVersion)
this.SetMobileVersion(true);
this.asc_setViewMode(this.isViewMode);
asc_docs_api.superclass._onEndLoadSdk.call(this);
......
......@@ -6757,6 +6757,9 @@ asc_docs_api.prototype._onEndLoadSdk = function() {
}
}
if (this.isMobileVersion)
this.SetMobileVersion(true);
this.asc_setViewMode(this.isViewMode);
this.asc_setDrawCollaborationMarks(this.tmpCoMarksDraw);
......
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