openfoodfoundation/openfoodnetwork — pull request #310 by mkllnk (2014-12-11 03:35:09+00:00)
Title: Enterprise form confirmation

Adressing BugHerd 1184.

- Makes the navigation callbacks executed when leaving the page (not on load)
- Makes the leave confirmation work in WebKit browsers
- Asks for confirmation only if the form was changed