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.
try to write like that: $.nyroModalSettings({endRemove: refreshparent }); function refreshparent(){ window.location = window.location.pathname+window.location.search };Labels: Type-Other