From 43cf61dc71ce666df0771d4cd34bc086703fb6f5 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 11 Aug 2017 17:41:15 +0300 Subject: [PATCH] Fix Bug 35408. --- apps/common/main/lib/view/Comments.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/common/main/lib/view/Comments.js b/apps/common/main/lib/view/Comments.js index 392d8931f..488006634 100644 --- a/apps/common/main/lib/view/Comments.js +++ b/apps/common/main/lib/view/Comments.js @@ -759,7 +759,8 @@ define([ }, loadText: function () { if (this.textVal && this.commentsView) { - this.commentsView.getTextBox().val(this.textVal); + var textBox = this.commentsView.getTextBox(); + textBox && textBox.val(this.textVal); } }, getEditText: function () {