pkdevbox / iui

Automatically exported from code.google.com/p/iui
MIT License
0 stars 0 forks source link

showPageById() fails on second attempt #302

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Call showPageById() twice with the same page ID.
2. First one works, second fails. The code tries to perform the animation.

To replicate easily, create a link
<a onclick="showPageById('nextPage')">Next</a>

Expected:
Nothing should happen. If (page == currentPage) nothing much should happen 
except for closing dialogs.

Original issue reported on code.google.com by san0f...@gmail.com on 22 Sep 2011 at 11:37

GoogleCodeExporter commented 8 years ago
Also happens on standard links to internal pages, for example:

<a href="#help-page">Help</a>

Click on this twice and you will get a blank page on the second click.

Original comment by san0f...@gmail.com on 23 Sep 2011 at 4:02

GoogleCodeExporter commented 8 years ago
This should be fixed in version 0.40-dev3 - give it a try!

Original comment by msgilli...@gmail.com on 24 Sep 2011 at 6:00

GoogleCodeExporter commented 8 years ago
Thanks, this bug was found 0.40-dev2.

I will upgrade next major version, since I have a lot of changes to the JS 
file, 
upgrade is not a simple file replacement.

Original comment by san0f...@gmail.com on 24 Sep 2011 at 6:38

GoogleCodeExporter commented 8 years ago
Duplicate of #7 which is fixed in 0.40-dev3

Original comment by msgilli...@gmail.com on 25 Sep 2011 at 5:32