From c2b489250255c17c70cebc3dcbcdff7534c26a0b Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 18 Mar 2019 16:17:46 +0300 Subject: [PATCH] Fix Bug 40787 --- apps/common/main/lib/controller/Comments.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/apps/common/main/lib/controller/Comments.js b/apps/common/main/lib/controller/Comments.js index 2dc8790b3..47d095e8b 100644 --- a/apps/common/main/lib/controller/Comments.js +++ b/apps/common/main/lib/controller/Comments.js @@ -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;