Fix Bug 40787

This commit is contained in:
Julia Radzhabova 2019-03-18 16:17:46 +03:00
parent b9cb50d0c2
commit c2b4892502

View file

@ -777,7 +777,6 @@ define([
}));
}
replies.sort(function (a,b) { return a.get('time') - b.get('time');});
comment.set('replys', replies);
if (!silentUpdate) {
@ -1246,10 +1245,6 @@ define([
editable : this.mode.canEditComments || (data.asc_getReply(i).asc_getUserId() == this.currentUserId)
}));
}
replies.sort(function (a, b) {
return a.get('time') - b.get('time');
});
}
return replies;