fix bug 32844.
This commit is contained in:
parent
7e1b5517d7
commit
0eb78262ce
|
@ -919,6 +919,19 @@ define([
|
|||
// internal
|
||||
|
||||
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;
|
||||
|
||||
if (_.isUndefined(disableSort)) {
|
||||
|
|
Loading…
Reference in a new issue