Update JavaScript documentation

This commit is contained in:
Dmitriy Simushev 2013-01-16 09:11:58 +00:00
parent a300b99171
commit de68b862da

View File

@ -126,7 +126,8 @@
this.ui.message this.ui.message
// Set empty value // Set empty value
.val('') .val('')
// And manually trigger change event // And manually trigger jQuery change event on the message
// text area
.change(); .change();
}, },
@ -161,7 +162,8 @@
message message
// Set new value // Set new value
.val(this.model.get('predefinedAnswers')[index-1].full) .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(); .change();
message.focus(); message.focus();
// Reset predefined answer selector // Reset predefined answer selector