My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 45: Usage of html-link in title breaks the opened window
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Aug 2008


 
Reported by nici.ku...@gmail.com, Jul 8, 2008
What steps will reproduce the problem?
1. Add html-code (<a href ..>) as your title
2. Click on pic to open the window

What is the expected output? What do you see instead?
I'd expect the output to be displayed correctly. It's broken after the
"href"-attribute starts.

What version of the product are you using? On what operating system?
1.2.6, Windows (IE, Mozilla), MacOS (Mozilla, Safari)

Please provide any additional information below.
The problem is the following line (335):
modal.tmp.html('<img id="nyroModalImg" alt="'+title+'" />');

Use following line instead and you don't have any problems:
modal.tmp.html('<img id="nyroModalImg" />').find("img").attr('alt', title);

 
Aug 17, 2008
Project Member #1 nyro...@gmail.com
Thanks nici.kueng for your fix.
I'll update the code and put it in the next release.

If you have a website, don't hesitate to write it as a new comment and I'll make a
link on it in the changelog.
Status: Fixed
Oct 22, 2008
Project Member #2 nyro...@gmail.com
Your fix is now included in the latest release 1.3.0

Powered by Google Project Hosting