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
6f96e284
Commit
6f96e284
authored
Oct 26, 2017
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SSE] Don't use asc_LoadEmptyDocument (fix offline mode for desktop in sdk).
parent
26f5a91f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
apps/spreadsheeteditor/main/app/controller/Main.js
apps/spreadsheeteditor/main/app/controller/Main.js
+1
-1
apps/spreadsheeteditor/mobile/app/controller/Main.js
apps/spreadsheeteditor/mobile/app/controller/Main.js
+1
-1
No files found.
apps/spreadsheeteditor/main/app/controller/Main.js
View file @
6f96e284
...
...
@@ -831,7 +831,7 @@ define([
this
.
api
.
asc_setViewMode
(
!
this
.
appOptions
.
isEdit
&&
!
this
.
appOptions
.
canComments
);
(
!
this
.
appOptions
.
isEdit
&&
this
.
appOptions
.
canComments
)
&&
this
.
api
.
asc_setRestriction
(
Asc
.
c_oAscRestrictionType
.
OnlyComments
);
(
this
.
appOptions
.
isEditMailMerge
||
this
.
appOptions
.
isEditDiagram
)
?
this
.
api
.
asc_LoadEmptyDocument
()
:
this
.
api
.
asc_LoadDocument
();
this
.
api
.
asc_LoadDocument
();
if
(
!
this
.
appOptions
.
isEdit
)
{
this
.
hidePreloader
();
...
...
apps/spreadsheeteditor/mobile/app/controller/Main.js
View file @
6f96e284
...
...
@@ -629,7 +629,7 @@ define([
me
.
applyModeEditorElements
();
me
.
api
.
asc_setViewMode
(
!
me
.
appOptions
.
isEdit
);
(
me
.
appOptions
.
isEditMailMerge
||
me
.
appOptions
.
isEditDiagram
)
?
me
.
api
.
asc_LoadEmptyDocument
()
:
me
.
api
.
asc_LoadDocument
();
me
.
api
.
asc_LoadDocument
();
if
(
!
me
.
appOptions
.
isEdit
)
{
me
.
hidePreloader
();
...
...
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