Leaving edit by clicking in page tree does not show a warning
Especially new editors are exploring TYPO3.
We regularly see editors make changes in for example a content field. They do not save yet. Then for example they click at another page in page tree to look something up. All their changes are lost as no warning shows up.
Would be great if same warning shows up as when closing the edit of an item in stead of saving.
[FEATURE] Leaving edit by clicking in page tree does not show a warning
If edit forms have unsaved changes, changing the IFRAME URL is caught by
explicitly sending interaction requests that are handled by individual
client components, such as the FormEngine. This feature does not use the
Window.beforeunload event, but some custom messaging API instead.
Click events on the ExtJS page-tree are caught if those trigger a change
request for the content component, however highlighting the clicked page
node is not caught due to nested ExtJS event hierarchies.
Tested-by: TYPO3com <email@example.com>
Tested-by: Jasmina Ließmann
Reviewed-by: Frank Naegler <firstname.lastname@example.org>
Tested-by: Frank Naegler <email@example.com>
Reviewed-by: Susanne Moog <firstname.lastname@example.org>
Tested-by: Susanne Moog <email@example.com>