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
3c6ab309
Commit
3c6ab309
authored
Mar 20, 2017
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SSE][PE] Bug with forcesave.
parent
6ca3ad01
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
apps/presentationeditor/main/app/controller/Toolbar.js
apps/presentationeditor/main/app/controller/Toolbar.js
+1
-1
apps/spreadsheeteditor/main/app/controller/Toolbar.js
apps/spreadsheeteditor/main/app/controller/Toolbar.js
+1
-1
No files found.
apps/presentationeditor/main/app/controller/Toolbar.js
View file @
3c6ab309
...
...
@@ -872,7 +872,7 @@ define([
if
(
this
.
api
&&
this
.
api
.
asc_isDocumentCanSave
)
{
var
isModified
=
this
.
api
.
asc_isDocumentCanSave
();
var
isSyncButton
=
$
(
'
.btn-icon
'
,
this
.
toolbar
.
btnSave
.
cmpEl
).
hasClass
(
'
btn-synch
'
);
if
(
!
isModified
&&
!
isSyncButton
)
if
(
!
isModified
&&
!
isSyncButton
&&
!
this
.
toolbar
.
mode
.
forcesave
)
return
;
this
.
api
.
asc_Save
();
...
...
apps/spreadsheeteditor/main/app/controller/Toolbar.js
View file @
3c6ab309
...
...
@@ -307,7 +307,7 @@ define([
if
(
this
.
api
)
{
var
isModified
=
this
.
api
.
asc_isDocumentCanSave
();
var
isSyncButton
=
$
(
'
.btn-icon
'
,
this
.
toolbar
.
btnSave
.
cmpEl
).
hasClass
(
'
btn-synch
'
);
if
(
!
isModified
&&
!
isSyncButton
)
if
(
!
isModified
&&
!
isSyncButton
&&
!
this
.
toolbar
.
mode
.
forcesave
)
return
;
this
.
api
.
asc_Save
();
...
...
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