chinwagsocial/app/javascript/mastodon
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
..
actions Refactor initial state: "me" (#5563) 2017-10-31 11:27:48 +09:00
components Replace react-router-scroll to react-router-scroll-4 (#5568) 2017-11-01 06:58:38 +09:00
containers Replace react-router-scroll to react-router-scroll-4 (#5568) 2017-11-01 06:58:38 +09:00
features Show confirmation dialog on leaving WebUI while composing (#5616) 2017-11-09 14:34:41 +01:00
locales fix: slang to adequate word (#5453) 2017-11-07 14:49:50 +01:00
middleware Suppress type error(not a function) on calling fastSeek (#5452) 2017-10-18 17:13:51 +02:00
reducers Refactor initial state: auto_play_gif (#5576) 2017-11-01 06:58:07 +09:00
selectors
service_worker
store
.gitkeep
api.js
base_polyfills.js Enable ESLint rules import/* (#5414) 2017-10-16 11:12:09 +02:00
extra_polyfills.js
initial_state.js Refactor initial state: "me" (#5563) 2017-10-31 11:27:48 +09:00
is_mobile.js Change mobile layout breakpoint from 1024px to 630px (#5063) 2017-09-24 01:25:07 +02:00
link_header.js
load_polyfills.js
main.js Enable ESLint rules import/* (#5414) 2017-10-16 11:12:09 +02:00
performance.js Upgrade to React 16 (#5119) 2017-09-30 04:29:56 +02:00
ready.js
rtl.js
scroll.js
stream.js
test_setup.js Replace JavaScript Testing Framework from Mocha to Jest (#5412) 2017-10-16 09:33:08 +02:00
uuid.js
web_push_subscription.js