From 773a49d6838eb53c8ff5f39cd49dd4296f1d100f Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 16 Jan 2019 12:55:46 +0300 Subject: [PATCH] Fix Bug 40242 --- apps/common/main/lib/controller/Comments.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/common/main/lib/controller/Comments.js b/apps/common/main/lib/controller/Comments.js index 57b59d16b2..16efe2f64d 100644 --- a/apps/common/main/lib/controller/Comments.js +++ b/apps/common/main/lib/controller/Comments.js @@ -297,7 +297,8 @@ define([ } } else { var model = this.popoverComments.findWhere({uid: id}); - if (model) { + if (model && !this.getPopover().isVisible()) { + this.getPopover().showComments(true); return; } }