How to go to previous page in task flow using 'BACK' button in browser?

三世轮回 提交于 2019-12-04 17:13:22

The browser back button actually doesn't know how to navigate a view within a task flow. The recommendation is not not use the browser back button for navigation. Unfortunately there is no API we can use in ADF to suppress the browser back button other than using JS to delete the user browse history.

lokoko

You could try something like this :

function disableBack() {
    var check =window.location.search; 
    if (check && check.substring(1) =="X") { 
        window.location.replace(<new_url>); 
    }
}

You could also refer to this post : Clear browser history

As Frank mentioned, you should not use the browser back with adf apps and i dont think there is a way to disable that thru' adf.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!