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
051ad0c9
Commit
051ad0c9
authored
Apr 28, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 32323
parent
9871b501
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
apps/documenteditor/main/app/controller/Main.js
apps/documenteditor/main/app/controller/Main.js
+2
-2
apps/presentationeditor/main/app/controller/Main.js
apps/presentationeditor/main/app/controller/Main.js
+2
-2
No files found.
apps/documenteditor/main/app/controller/Main.js
View file @
051ad0c9
...
...
@@ -545,12 +545,12 @@ define([
var
me
=
this
;
if
(
me
.
_state
.
timerSave
===
undefined
)
me
.
_state
.
timerSave
=
setInterval
(
function
(){
if
((
new
Date
())
-
me
.
_state
.
isSaving
>
20
00
)
{
if
((
new
Date
())
-
me
.
_state
.
isSaving
>
5
00
)
{
clearInterval
(
me
.
_state
.
timerSave
);
me
.
getApplication
().
getController
(
'
Statusbar
'
).
setStatusCaption
(
''
);
me
.
_state
.
timerSave
=
undefined
;
}
},
20
00
);
},
5
00
);
}
else
this
.
getApplication
().
getController
(
'
Statusbar
'
).
setStatusCaption
(
''
);
}
...
...
apps/presentationeditor/main/app/controller/Main.js
View file @
051ad0c9
...
...
@@ -371,12 +371,12 @@ define([
var
me
=
this
;
if
(
me
.
_state
.
timerSave
===
undefined
)
me
.
_state
.
timerSave
=
setInterval
(
function
(){
if
((
new
Date
())
-
me
.
_state
.
isSaving
>
20
00
)
{
if
((
new
Date
())
-
me
.
_state
.
isSaving
>
5
00
)
{
clearInterval
(
me
.
_state
.
timerSave
);
me
.
getApplication
().
getController
(
'
Statusbar
'
).
setStatusCaption
(
''
);
me
.
_state
.
timerSave
=
undefined
;
}
},
20
00
);
},
5
00
);
}
else
this
.
getApplication
().
getController
(
'
Statusbar
'
).
setStatusCaption
(
''
);
}
...
...
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