slav0nic/DjangoBB — pull request #21 by jedie (2012-10-16 14:19:43+00:00)
Title: Bugfix in JS: Reset onbeforeunload event while edit a existing post, too...

before the patch: You will get the "leave page" JS message while editing a post.
The "unbind" only work if a new post created and not while editing.