Jontte/Plethora — Issue #4: 'Sure to exit?' -confirmation dialog when the level has unsaved changes
Author: Jontte
Created: 2011-10-29 12:21:49+00:00
State: open

Make use of World._editor.unsaved_changes. Alert the user whenever they have unsaved changes and:

- They are about to leave the page
- They are about to reset the editor
- They are about to load another level
- They try to play their level without saving it (alternatively, save the current level temporarily to sessionStorage or localStorage and let them test it before uploading it?)