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 138: Manual Calls with content is a selector
3 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Jan 2009


 
Reported by kurtu...@gmail.com, Dec 25, 2008
What steps will reproduce the problem?
1. run attached file
2. a test div should show on load
3. close the div and click the "manual call" link and the div should show again
4. close the div and click the "regular call" link, now you get an error

What is the expected output? What do you see instead?
nyroModal error is shown as it did not find the div

What version of the product are you using? On what operating system?
nyroModal-1.3.1

using 
$.nyroModalManual({
        content: $('#testdv')
});
makes nyroModal change or remove the DOM element which makes it unavailable
for other calls


test.html
940 bytes   View   Download
Jan 27, 2009
Project Member #1 nyro...@gmail.com
When you the manual call occurs, the nyroModal plugin is write to cur the element
from the DOM.
That's why the regular call becomes an error.

To fix it, instead of use the content, simply use the url setting like that:
url: '#testdv'
and it will works.
Status: Fixed

Powered by Google Project Hosting