Issue 209: Modal doesn't always close on ajax event
Status:  Invalid
Owner: ----
Closed:  Apr 2009
Reported by Epo...@gmail.com, Apr 2, 2009
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
why would you close a modal once every ajax call is completed or stopped?
I don't see any reason why you will do that.
Are you sure your code is executed? try it by adding an alert inside...
Apr 2, 2009
#2 Epo...@gmail.com
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
Project Member #3 nyro...@gmail.com
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
#4 Epo...@gmail.com
Ok...thanks i will try that out.
Apr 9, 2009
Project Member #5 nyro...@gmail.com
any news about this issue?
Apr 9, 2009
#6 Epo...@gmail.com
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
Project Member #7 nyro...@gmail.com
ok, thanks.
Status: Invalid