Hi Community,
Any idea how I can disable or skip this unsaved changes warning on a specific page.
Like
1 comments
10:13 Apr 25, 2019
Hello Fulgen,
However, this part of functionality is not something that is recommended to modify.
In case it is necessary to remove this window, you may simply override logic that is responsible for this part of functionality.
Please note on schema "BasePageV2" in package "NUI". More presisely, methods onCanBeDestroyed, setNotBeDestroyedConfig Please debug it to understand how the functionality should be modified in your case.
Also if you will decide to override this methods, please be careful not to affect other functionality.
Best regards,
Alex
Show all comments