Jennifer Murphy6032839
Posts: 0
Joined: Wed Jul 10, 2013 8:05 pm

Back Button for invoking DB service not working

I am developing an app which is a form & I want the user to be able to go back to a previous page and editing some of the details if they wish. For this I was using the Back Button event and invoke a database service to map the local storage variables to the relevant fields in the form.

I previously had this working but for some reason it has now stopped working! I have deleted the original service during my troubleshooting, what type of DB service should be run for this? Create/List/Read/Query? Is there any additional javascript necessary for this?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Back Button for invoking DB service not working

Dear Jennifer,

This is a bug, will be fixed asap.

As a workaround place your Back button in Panel, add the needed handlers and finally add the last one Run Java Script action with the following code:code$.mobile.back();/code

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Back Button for invoking DB service not working

This isn't a bug. "Back button event" which is available from Appery.io is Phonegap backbutton event http://docs.phonegap.com/en/2.9.0/cor... which fires when you press the "device" back button.

Return to “Issues”