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
2f27a8f1
Commit
2f27a8f1
authored
Jul 18, 2017
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DE mobile][PE mobile] Remove saving show-snaplines option.
parent
29d67037
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
apps/documenteditor/mobile/app/controller/Main.js
apps/documenteditor/mobile/app/controller/Main.js
+0
-2
apps/presentationeditor/mobile/app/controller/Main.js
apps/presentationeditor/mobile/app/controller/Main.js
+0
-4
No files found.
apps/documenteditor/mobile/app/controller/Main.js
View file @
2f27a8f1
...
...
@@ -484,8 +484,6 @@ define([
me
.
api
.
asc_setSpellCheck
(
false
);
// don't use spellcheck for mobile mode
Common
.
localStorage
.
setItem
(
"
de-settings-showsnaplines
"
,
me
.
api
.
get_ShowSnapLines
()
?
1
:
0
);
me
.
api
.
asc_registerCallback
(
'
asc_onStartAction
'
,
_
.
bind
(
me
.
onLongActionBegin
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onEndAction
'
,
_
.
bind
(
me
.
onLongActionEnd
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onCoAuthoringDisconnect
'
,
_
.
bind
(
me
.
onCoAuthoringDisconnect
,
me
));
...
...
apps/presentationeditor/mobile/app/controller/Main.js
View file @
2f27a8f1
...
...
@@ -456,8 +456,6 @@ define([
var
zf
=
(
value
!==
null
)
?
parseInt
(
value
)
:
(
me
.
appOptions
.
customization
&&
me
.
appOptions
.
customization
.
zoom
?
parseInt
(
me
.
appOptions
.
customization
.
zoom
)
:
-
1
);
(
zf
==
-
1
)
?
me
.
api
.
zoomFitToPage
()
:
((
zf
==
-
2
)
?
me
.
api
.
zoomFitToWidth
()
:
me
.
api
.
zoom
(
zf
>
0
?
zf
:
100
));
Common
.
localStorage
.
setItem
(
"
pe-settings-showsnaplines
"
,
me
.
api
.
get_ShowSnapLines
()
?
1
:
0
);
me
.
api
.
asc_setSpellCheck
(
false
);
// don't use spellcheck for mobile mode
me
.
api
.
asc_registerCallback
(
'
asc_onStartAction
'
,
_
.
bind
(
me
.
onLongActionBegin
,
me
));
...
...
@@ -480,8 +478,6 @@ define([
me
.
api
.
asc_SetFastCollaborative
(
me
.
_state
.
fastCoauth
);
/** coauthoring end **/
Common
.
localStorage
.
setItem
(
"
pe-settings-showsnaplines
"
,
me
.
api
.
get_ShowSnapLines
()
?
1
:
0
);
if
(
me
.
appOptions
.
isEdit
)
{
value
=
me
.
_state
.
fastCoauth
;
// Common.localStorage.getItem("de-settings-autosave");
value
=
(
!
me
.
_state
.
fastCoauth
&&
value
!==
null
)
?
parseInt
(
value
)
:
(
me
.
appOptions
.
canCoAuthoring
?
1
:
0
);
...
...
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