From de4d797a3f48e567d7a715ae0d118d16103f1392 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 3 Oct 2019 17:10:09 +0300 Subject: [PATCH] Fix Bug 43056 --- apps/common/main/lib/view/ReviewPopover.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/common/main/lib/view/ReviewPopover.js b/apps/common/main/lib/view/ReviewPopover.js index a96e9ace6..a3f507da5 100644 --- a/apps/common/main/lib/view/ReviewPopover.js +++ b/apps/common/main/lib/view/ReviewPopover.js @@ -1162,9 +1162,9 @@ define([ insertEmailToTextbox: function(str, left, right) { var textBox = this.commentsView.getTextBox(), val = textBox.val(); - textBox.val(val.substring(0, left) + '+' + str + val.substring(right+1, val.length)); + textBox.val(val.substring(0, left) + '+' + str + ' ' + val.substring(right+1, val.length)); setTimeout(function(){ - textBox[0].selectionStart = textBox[0].selectionEnd = left + str.length + 1; + textBox[0].selectionStart = textBox[0].selectionEnd = left + str.length + 2; }, 10); },