How to set up a Back button in Mx?

0
Hi, all!   I have "Back" buttons in my app that work using HTML Snippet with Context  widget and have a jQuery expression in them: However, they have suddenly stopped working and I'm wondering if anyone can suggest a solution for either fixing it or implementing something new.   Thank you!
asked
1 answers
0

Hi Elina,

If you want more control over exactly what happens when the Back button is pressed, you could use a Close page, Cancel or Show Page action on the button. If you really want to use window.history.go(-1); it would be best to call a nanoflow which calls a JavaScript action that implements the code. Note that the JavaScript action only needs to contain window.history.go(-1); line, the other things are not necessary by doing it this way. 

Hope that helps!

answered