mozilla/kuma — pull request #504 by darkwing (2012-08-14 14:58:51+00:00)
Title: fix bug 773658 - Show message before leaving page

There are a number of ways this should be tested:

1. Immediately refresh the page
- Should not prompt

2. Don't change editor, press save
- Should not prompt

3. Don't change editor, press "discard"
- Should not prompt

4. Update content, press save
- Should not prompt

5. Update content, refresh page
- Should prompt

6. Update content, click a link
- Should prompt

That's just for templates. Same should be done with WYSIWYG, as well as the translate page.