| Issue 209: | Modal doesn't always close on ajax event | |
| 2 people starred this issue and may be notified of changes. | Back to list |
|
i tired this two but none works perfectly
$(document).ajaxComplete(function(){
$.nyroModalRemove();
return false;
});
$(document).ajaxStop(function(){
$.nyroModalRemove();
return false;
});
Apr 2, 2009
Project Member
#1
nyro...@gmail.com
Apr 2, 2009
i have a div with contain a loading image....which should pop-up with an ajax request is made to prevent the user from click on something while the ajax request is done...i want to be 100% able to close the modal when the request is done so that the user can have access to the page content
Apr 3, 2009
I see. In this code, it could be better if in your page loaded with ajax you put comething like : <script type="text/javascript"> $.nyroModalRemove(); </script>
Apr 3, 2009
Ok...thanks i will try that out.
Apr 9, 2009
any news about this issue?
Apr 9, 2009
you can close this issue, though i have not tried it out cos i got a better solution to my ajax loading gif problem
Apr 9, 2009
ok, thanks.
Status:
Invalid
|
||||||||