Skip to content

Loading…

How to overwrite title bar Back action? #737

Closed
jpbb opened this Issue · 1 comment

2 participants

@jpbb

When Cancel is clicked, it works as "bb.popScreen();". Is it possible to define an action for Cancel and do not just go back to previous screen?

@tneil
Open Source Projects member

There isn't a way to "override" the back. You can add code to the onunload event for your Screen Specific JavaScript that will fire when the back button is pressed.

But there isn't a way to stop the back button from going back.

@tneil tneil closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.