about summary refs log tree commit diff
path: root/spec/controllers/accounts_controller_spec.rb
diff options
context:
space:
mode:
authorunarist <m.unarist@gmail.com>2017-11-09 22:34:41 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-11-09 14:34:41 +0100
commit49a285ce15cc206757254a1f23f19d5da265b127 (patch)
treee26de058aea14659697f0a0f97a6c920da4885e7 /spec/controllers/accounts_controller_spec.rb
parentcfd7b7a0b7f97a822cb80de8cbd4e33a07065cc7 (diff)
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
Diffstat (limited to 'spec/controllers/accounts_controller_spec.rb')
0 files changed, 0 insertions, 0 deletions