By Maxim Smolyaninov
13 Sep 2013 10:43
English
2 Replies
Hello everyone.
How can I block HW back button default behavour? For example, if I want to forbid user to go back until it save it's work.
When I use:
document.addEventListener('tizenhwkey', function(e) {
// my code here
}
it exectute "my code" block and then moves to previous page. And I want to stay on current page.
Thanks in advance.
Edited on 18 03, 2014
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.