выставление мобильной версии
This commit is contained in:
parent
e1612fbaf6
commit
1997c8a175
|
@ -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));
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue