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
29d67037
Commit
29d67037
authored
Jul 07, 2017
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Bug 35358.
parent
a946d157
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
apps/documenteditor/main/app/controller/Main.js
apps/documenteditor/main/app/controller/Main.js
+3
-3
apps/presentationeditor/main/app/controller/Main.js
apps/presentationeditor/main/app/controller/Main.js
+3
-3
No files found.
apps/documenteditor/main/app/controller/Main.js
View file @
29d67037
...
...
@@ -603,7 +603,7 @@ define([
if
(
action
)
{
this
.
setLongActionView
(
action
)
}
else
{
if
(
id
==
Asc
.
c_oAscAsyncAction
[
'
Save
'
]
||
id
==
Asc
.
c_oAscAsyncAction
[
'
ForceSaveButton
'
]
)
{
if
(
(
id
==
Asc
.
c_oAscAsyncAction
[
'
Save
'
]
||
id
==
Asc
.
c_oAscAsyncAction
[
'
ForceSaveButton
'
])
&&
!
this
.
appOptions
.
isOffline
)
{
if
(
this
.
_state
.
fastCoauth
&&
this
.
_state
.
usersCount
>
1
)
{
var
me
=
this
;
me
.
_state
.
timerSave
=
setTimeout
(
function
()
{
...
...
@@ -642,8 +642,8 @@ define([
case
Asc
.
c_oAscAsyncAction
[
'
ForceSaveButton
'
]:
clearTimeout
(
this
.
_state
.
timerSave
);
force
=
true
;
title
=
this
.
saveTitleText
;
text
=
this
.
saveTextText
;
title
=
(
!
this
.
appOptions
.
isOffline
)
?
this
.
saveTitleText
:
''
;
text
=
(
!
this
.
appOptions
.
isOffline
)
?
this
.
saveTextText
:
''
;
break
;
case
Asc
.
c_oAscAsyncAction
[
'
ForceSaveTimeout
'
]:
...
...
apps/presentationeditor/main/app/controller/Main.js
View file @
29d67037
...
...
@@ -421,7 +421,7 @@ define([
if
(
action
)
{
this
.
setLongActionView
(
action
)
}
else
{
if
(
id
==
Asc
.
c_oAscAsyncAction
[
'
Save
'
]
||
id
==
Asc
.
c_oAscAsyncAction
[
'
ForceSaveButton
'
]
)
{
if
(
(
id
==
Asc
.
c_oAscAsyncAction
[
'
Save
'
]
||
id
==
Asc
.
c_oAscAsyncAction
[
'
ForceSaveButton
'
])
&&
!
this
.
appOptions
.
isOffline
)
{
if
(
this
.
_state
.
fastCoauth
&&
this
.
_state
.
usersCount
>
1
)
{
var
me
=
this
;
me
.
_state
.
timerSave
=
setTimeout
(
function
()
{
...
...
@@ -458,8 +458,8 @@ define([
case
Asc
.
c_oAscAsyncAction
[
'
ForceSaveButton
'
]:
clearTimeout
(
this
.
_state
.
timerSave
);
force
=
true
;
title
=
this
.
saveTitleText
;
text
=
this
.
saveTextText
;
title
=
(
!
this
.
appOptions
.
isOffline
)
?
this
.
saveTitleText
:
''
;
text
=
(
!
this
.
appOptions
.
isOffline
)
?
this
.
saveTextText
:
''
;
break
;
case
Asc
.
c_oAscAsyncAction
[
'
ForceSaveTimeout
'
]:
...
...
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