Fixes #1369 Empty edit reason field added to post by JavaScript.