azicchetti / jquerymobile-router

A router/controller for jquery mobile. Also adds support for client-side parameters in the hash part of the url. The routes handles regexp based routes. This plugin can be used alone or (better) with Backbone.js or Spine.js, because it's originally meant to replace their router with something integrated with jQM.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Back Problem

willy-estrada-cinepapaya opened this issue · comments

Hi, When i back to before page some times it create a loop and return to first page when i'm on page 3, or, simply return to before page, but automatically return to page 3 again. Do yo know why is it happend?

Il 17/01/2015 02:27, willy-estrada-cinepapaya ha scritto:

Hi, When i back to before page some times it create a loop and return to
first page when i'm on page 3, or, simply return to before page, but
automatically return to page 3 again. Do yo know why is it happend?

Hi,
debugging "back" problems can be tricky without seeing the source code,
because there are too many reasons that can cause this weird behavior
(ranging from bugs to wrong user-handlers attached to certain events).

Can you please send me the source code or a simplified version of it
that still shows the issue?

Thank you very much.

Hi Andrea,

Thanks you for your response. I've fixed the bug. My error was that i was
putting onClick method within "pagebeforeshow".

Best.

2015-01-18 10:24 GMT-05:00 Andrea Zicchetti notifications@github.com:

Il 17/01/2015 02:27, willy-estrada-cinepapaya ha scritto:

Hi, When i back to before page some times it create a loop and return to
first page when i'm on page 3, or, simply return to before page, but
automatically return to page 3 again. Do yo know why is it happend?

Hi,
debugging "back" problems can be tricky without seeing the source code,
because there are too many reasons that can cause this weird behavior
(ranging from bugs to wrong user-handlers attached to certain events).

Can you please send me the source code or a simplified version of it
that still shows the issue?

Thank you very much.


Reply to this email directly or view it on GitHub
#86 (comment)
.