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
0eb78262
Commit
0eb78262
authored
Jul 25, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug 32844.
parent
7e1b5517
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
apps/common/main/lib/controller/Comments.js
apps/common/main/lib/controller/Comments.js
+13
-0
No files found.
apps/common/main/lib/controller/Comments.js
View file @
0eb78262
...
@@ -919,6 +919,19 @@ define([
...
@@ -919,6 +919,19 @@ define([
// internal
// internal
updateComments
:
function
(
needRender
,
disableSort
)
{
updateComments
:
function
(
needRender
,
disableSort
)
{
var
me
=
this
;
me
.
updateCommentsTime
=
new
Date
();
if
(
me
.
timerUpdateComments
===
undefined
)
me
.
timerUpdateComments
=
setInterval
(
function
(){
if
((
new
Date
())
-
me
.
updateCommentsTime
>
100
)
{
clearInterval
(
me
.
timerUpdateComments
);
me
.
timerUpdateComments
=
undefined
;
me
.
updateCommentsView
(
needRender
,
disableSort
);
}
},
25
);
},
updateCommentsView
:
function
(
needRender
,
disableSort
)
{
var
i
,
end
=
true
;
var
i
,
end
=
true
;
if
(
_
.
isUndefined
(
disableSort
))
{
if
(
_
.
isUndefined
(
disableSort
))
{
...
...
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