Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

Back Button

Yup It works in Single page but problematic in multi-page. Multi-Page worked until I added Collapsible blocks with Rest Service Content.
For Now I'm going Back to Single Page Design. Everything works good for That.
Thanks.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Back Button

The button is not shown when you add a collapsible block with REST service or it's there but doesn't work?

Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

Back Button

If They Show They always work. But mostly they not show up at all..

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Back Button

The button will show if there is history, such as when you navigated to a page. It will not show if there is not history -- that's just how jQuery Mobile works.

Is this the same issue https://getsatisfaction.com/tiggzi/to...?

Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

Back Button

Yes I know about the history as I have said before. There Is History
I have checked everything over no JS errors.
There must be something about the cache thats qwerky since yesterday.
The back button is tied to cache as well as loaded content from rest svc which no longer shows up when using android back button or browser back button.
ie. Collapsable block content from rest svc. Expand a block, click button goes to another page. When I click the back btn the content previously loaded is gone.
2 Days ago this did not happen.

Robert Pollock
Posts: 0
Joined: Sun Oct 07, 2012 9:08 pm

Back Button

I'm using Google maps with various pointers added.

The pointers are set (on a click) to open a new screen, with information about the location the pointer is at. I've added a back button to these information screens, but it returns the user to the original map state of mobilescreen1, not the view the user had when the pointer was clicked.

Is there a way of recording the current screen state at the time of a user click, so it can be recreated when the user goes 'Back'?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Back Button

How did you add the button? Did you use the jQuery Back button option?

Robert Pollock
Posts: 0
Joined: Sun Oct 07, 2012 9:08 pm

Back Button

I added a back button using the screen header Properties dialog; and another using the PaletteButtonClick EventNavigate to page and both do exactly the same thing (open the original map state).

I've also tried with a Popup instead of a Screen, and the Close box also does the same thing.

Do I have to save the lat and long when the pointer is clicked, then recreate the map ? I don't know how to do that.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Back Button

You could save the lat/lon into local storage.

Arsalan Sarwer
Posts: 0
Joined: Tue Oct 30, 2012 3:31 pm

Back Button

Try "history.back()", I used it several times, it works fine.

Return to “Issues”