Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Error: Are you sure you want to abandon your post? #37

Open
ryanerwin opened this issue Sep 24, 2018 · 0 comments
Open

Error: Are you sure you want to abandon your post? #37

ryanerwin opened this issue Sep 24, 2018 · 0 comments
Labels

Comments

@ryanerwin
Copy link
Contributor

If you type some content, then press the "X" to close, you can get error:

image

This can make it impossible to close quick messages... because the error is in the back ground, but sometimes the error still has focus... (even though it's visually behind the quick messages window and can't be seen)

Solution is probably to check if there is CONTENT in the reply box when clicking "Close" and if there is content, then trigger the Yes, abandon / No, keep dialog in front of the show quick messages window...

Since Discourse now supports multiple saved drafts, might be even better to just silently save the replies as new drafts and not bother prompting... but if we did that, then how to recover your draft?

@ryanerwin ryanerwin added the bug label Sep 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant