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 145: Nyromodal calling endRemove function in infinite loop
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Jan 2009


 
Reported by neerash...@gmail.com, Jan 5, 2009
What steps will reproduce the problem?

I want to refresh parent when any nyromodal is closed or canceled, I put
code like this,
  $.nyroModalSettings({endRemove: refreshparent() });
 function refreshparent(){
          window.location = window.location.pathname+window.location.search
         };
What is the expected output? What do you see instead?

what I see is that when I go on the parent page, nyromodal calls the
refreshparent() in infinite loop. I have not even clicked on a link to get
a nyromodal window yet.

What version of the product are you using? On what operating system?
latest, Firefox 3 on Mac

Please provide any additional information below.


Jan 6, 2009
Project Member #1 nyro...@gmail.com
try to write like that:
$.nyroModalSettings({endRemove: refreshparent });
 function refreshparent(){
          window.location = window.location.pathname+window.location.search
         };

Status: Fixed
Labels: Type-Other

Powered by Google Project Hosting