activitypub-academy/app/javascript/mastodon/features/ui
unarist 49a285ce15 Show confirmation dialog on leaving WebUI while composing (#5616)
* Show confirmation dialog on leaving WebUI while composing

Currently, Back button and Back hotkey can cause leaving from WebUI, as well as browser's back button. Users may hit those buttons accidentally, and their composing text will be lost.

So this prevents it by showing confirmation dialog from `onbeforeunload` event.

* Fix message and comments
2017-11-09 14:34:41 +01:00
..
components Refactor initial state: "me" (#5563) 2017-10-31 11:27:48 +09:00
containers Refactor initial state: "me" (#5563) 2017-10-31 11:27:48 +09:00
util refactor(features/ui): Avoid useless renders in WrappedSwitch (#5580) 2017-11-01 12:17:53 +01:00
index.js Show confirmation dialog on leaving WebUI while composing (#5616) 2017-11-09 14:34:41 +01:00