Cancel button expose Joget application instead of showing in iframe
Confluence User - 06 Jan, 2022
Joget application is displayed inside an iframe. When cancel button in approval form is clicked, It change url of parent application and expose joget web-application.
Noticed button is using top.location in generated code.
<button id="cancel" onclick="top.location='/jw/web/userview/usermg/v/_/D89734C6B4AF';return false">Cancel</button>
As a quick fix, Have removed Cancel button using script.
Do we have any solution where button can be kept in form, also prevent application from navigating away from iframe .
iframe;button;forms