From 1997c8a175d99f15fc8435fce3d0fc6fded200d9 Mon Sep 17 00:00:00 2001 From: Oleg Korshul Date: Fri, 13 May 2016 12:25:18 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B2=D1=8B=D1=81=D1=82=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BC=D0=BE=D0=B1=D0=B8=D0=BB=D1=8C?= =?UTF-8?q?=D0=BD=D0=BE=D0=B9=20=D0=B2=D0=B5=D1=80=D1=81=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/documenteditor/mobile/app/controller/Main.js | 5 ++--- apps/presentationeditor/mobile/app/controller/Main.js | 5 ++--- apps/spreadsheeteditor/mobile/app/controller/Main.js | 4 ++-- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/apps/documenteditor/mobile/app/controller/Main.js b/apps/documenteditor/mobile/app/controller/Main.js index 9176d4fd3..6b2fc1a56 100644 --- a/apps/documenteditor/mobile/app/controller/Main.js +++ b/apps/documenteditor/mobile/app/controller/Main.js @@ -59,10 +59,9 @@ Ext.define('DE.controller.Main', { app = this.getApplication(); api = new Asc.asc_docs_api({ - 'id-view' : 'editor_sdk' + 'id-view' : 'id-sdkeditor', + 'mobile' : true }); - api.SetMobileVersion(true); - api.initEvents2MobileAdvances(); api.asc_registerCallback('asc_onStartAction', Ext.bind(this.onLongActionBegin, this)); api.asc_registerCallback('asc_onError', Ext.bind(this.onError, this)); diff --git a/apps/presentationeditor/mobile/app/controller/Main.js b/apps/presentationeditor/mobile/app/controller/Main.js index fa0b00bcc..24945d7ce 100644 --- a/apps/presentationeditor/mobile/app/controller/Main.js +++ b/apps/presentationeditor/mobile/app/controller/Main.js @@ -61,11 +61,10 @@ Ext.define('PE.controller.Main', { profile = app.getCurrentProfile(); api = new Asc.asc_docs_api({ - 'id-view' : 'editor_sdk' + 'id-view' : 'id-sdkeditor', + 'mobile' : true }); - api.SetMobileVersion(true); api.SetThemesPath("../../../../sdkjs/slide/themes/"); - api.initEvents2MobileAdvances(); api.asc_registerCallback('asc_onStartAction', Ext.bind(this.onLongActionBegin, this)); api.asc_registerCallback('asc_onError', Ext.bind(this.onError, this)); diff --git a/apps/spreadsheeteditor/mobile/app/controller/Main.js b/apps/spreadsheeteditor/mobile/app/controller/Main.js index c2b901b8e..fdf9cbbf7 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/Main.js +++ b/apps/spreadsheeteditor/mobile/app/controller/Main.js @@ -65,9 +65,9 @@ Ext.define('SSE.controller.Main', { // Initialize api this.api = new Asc.spreadsheet_api({ - 'id-view' : 'id-sdkeditor' + 'id-view' : 'id-sdkeditor', + 'mobile' : true }); - this.api.asc_setMobileVersion(true); this.api.asc_registerCallback('asc_onAdvancedOptions', Ext.bind(this.onAdvancedOptions, this)); this.api.asc_registerCallback('asc_onOpenDocumentProgress', Ext.bind(this.onOpenDocumentProgress, this));