-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 0.20 Larks, 3.5 Larks
-
Fix Version/s: 3.5 Larks
-
Labels:None
-
Sprint:1.1 Larks, 3.5 Larks
How to reproduce:
1. Create a topic and add a picture there with [img] bb code
2. Open the topic, click the image -> Image is opened in overlay
3. Close image view by pressing the X button
4. Press browser "Back" button
AR: User has to press "Back" 2 times before previous page will be opened
ER: User presses "Back" button one time and the previous page is opened
Note:
- Reproduced for any browser (I tried Chrome, FF)
- On each click URLs are changed, but user stays on the same page in the same state
1.When user clicks on image the "PrettyPhoto" lib can either make new URL or not. This parameter is configurable.
2.when user want to get back on the page, current "PrettyPhoto" lib get incoorect result.
hashtag = (url.indexOf('#!prettyPhoto')) ? true : false; - always return true.
For resolving this problem I install newest version of the lib.