Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-apps
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
web-apps
Commits
1997c8a1
Commit
1997c8a1
authored
May 13, 2016
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
выставление мобильной версии
parent
e1612fba
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
8 deletions
+6
-8
apps/documenteditor/mobile/app/controller/Main.js
apps/documenteditor/mobile/app/controller/Main.js
+2
-3
apps/presentationeditor/mobile/app/controller/Main.js
apps/presentationeditor/mobile/app/controller/Main.js
+2
-3
apps/spreadsheeteditor/mobile/app/controller/Main.js
apps/spreadsheeteditor/mobile/app/controller/Main.js
+2
-2
No files found.
apps/documenteditor/mobile/app/controller/Main.js
View file @
1997c8a1
...
...
@@ -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
));
...
...
apps/presentationeditor/mobile/app/controller/Main.js
View file @
1997c8a1
...
...
@@ -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
));
...
...
apps/spreadsheeteditor/mobile/app/controller/Main.js
View file @
1997c8a1
...
...
@@ -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
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment