From de68b862da92562b1b593e461defb25ef792f89a Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Wed, 16 Jan 2013 09:11:58 +0000 Subject: [PATCH] Update JavaScript documentation --- .../webim/js/source/chat/views/messages/message_form.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/messenger/webim/js/source/chat/views/messages/message_form.js b/src/messenger/webim/js/source/chat/views/messages/message_form.js index 632353dc..29c1c64a 100644 --- a/src/messenger/webim/js/source/chat/views/messages/message_form.js +++ b/src/messenger/webim/js/source/chat/views/messages/message_form.js @@ -126,7 +126,8 @@ this.ui.message // Set empty value .val('') - // And manually trigger change event + // And manually trigger jQuery change event on the message + // text area .change(); }, @@ -161,7 +162,8 @@ message // Set new value .val(this.model.get('predefinedAnswers')[index-1].full) - // And manually trigger change event + // And manually trigger jQuery change event on the + // message text area .change(); message.focus(); // Reset predefined answer selector