Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Sure to exit?' -confirmation dialog when the level has unsaved changes #4

Closed
Jontte opened this issue Oct 29, 2011 · 0 comments
Closed
Assignees

Comments

@Jontte
Copy link
Owner

Jontte commented Oct 29, 2011

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?)
@Atte Atte closed this as completed in 7a75be8 Nov 7, 2011
@ghost ghost assigned Atte Nov 12, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants