New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dev.icinga.com #6059] Save/restore form data when navigating away/back #586
Comments
Updated by elippmann on 2014-06-01 13:15:25 +00:00
|
Updated by elippmann on 2014-07-22 13:41:01 +00:00
|
Updated by elippmann on 2014-07-23 07:43:02 +00:00
|
Updated by jmeyer on 2014-08-12 13:22:31 +00:00
|
Updated by jmeyer on 2014-08-13 11:41:32 +00:00
We need to intercept the navigation at these events:
Another issue is, that most mobile browsers do not support the "beforeUnload"-event. (see https://developer.mozilla.org/en-US/docs/Web/API/Window.onbeforeunload) We can try to circumvent these issues by displaying a pseudo-modal dialog during the "beforeUnload"-event but that does not resolve the issue with mobile browsers not supporting this event at all. But there's another and even much more proper way handling this. Using this undo-technique it's probably getting more complicated to implement this, but it's a clean and powerful alternative. (e.g. think of #4133 where this might be useful as well) I'd prefer implementing the undo-technique but would also be fine not using it, as 3) is already fully implemented. |
Updated by elippmann on 2014-08-22 08:12:42 +00:00
Hi Johannes, Johannes wrote:
The undo-technique is in fact a good idea. Our history implementation should save form data when navigating away and restore them when navigating back to form via the history. If JavaScript is disabled, this already works because the browser's cache does the work for us. Cheers, |
Updated by tgelf on 2014-09-09 08:38:01 +00:00
|
Updated by elippmann on 2014-10-28 08:58:42 +00:00
|
Updated by elippmann on 2014-11-21 15:38:59 +00:00
|
Updated by elippmann on 2015-03-30 08:57:30 +00:00
|
Updated by elippmann on 2015-03-30 08:57:43 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/6059
Created by jmeyer on 2014-04-24 07:36:04 +00:00
Assignee: (none)
Status: New
Target Version: Backlog
Last Update: 2015-03-30 08:57:43 +00:00 (in Redmine)
lippser wrote:
Original description:
Johannes wrote:
Relations:
The text was updated successfully, but these errors were encountered: