Modifications to Items Easily Lost When Using Modernized Theme, JS onbeforeunload Broken in Basic Theme

Issue #451 resolved
Roger Haase created an issue

The window.onbeforeunload function to check for unsaved changes when modifying an item is within MoinMoin/templates/basic.js and is used only for Basic theme.

Further, it is broken as it asks for permission to leave page even if no changes were made.

A better technique using jquery is discussed here: