Commit 0eb78262 authored by Julia Radzhabova's avatar Julia Radzhabova

fix bug 32844.

parent 7e1b5517
...@@ -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)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment