Fix a regression in saving comments.

Review Request #6457 — Created Oct. 17, 2014 and submitted — Latest diff uploaded

Information

Review Board
release-2.0.x
5d6bb61...

Reviewers

The new delayed notifications for "change" events from MarkdownEditor
could result in text being chopped off if typing and saving within half
a second. We now make sure to always set the latest-and-greatest text
when saving, instead of relying on the handler for the "change" event.

This only occurs in the comment dialog.

Typed and hit enter quickly, and saw the text appear. Before, I could
reliably reproduce the missing text issue.