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
Labels
If you type some content, then press the "X" to close, you can get error:
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?
The text was updated successfully, but these errors were encountered: