Page 1 of 1

Back Button for invoking DB service not working

Posted: Wed Aug 07, 2013 11:10 am
by Jennifer Murphy6032839

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?


Back Button for invoking DB service not working

Posted: Wed Aug 07, 2013 12:13 pm
by Kateryna Grynko

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


Back Button for invoking DB service not working

Posted: Thu Aug 15, 2013 7:09 pm
by Kateryna Grynko

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.