Wait for window to close before running ajax.done
I don't really know if this is possible without refreshing the page, but
basically I have a form that a user can fill in, then in the event that
they are not logged in a popup is triggered via AJAX.
I want to handle the data from the popup then close it.
At the moment I have:
sessionSetRequest.done(function(){
var facebookAuthWindow = window.open(window.location.origin +
'/auth/facebook');
facebookAuthWindow.onload = function(){
facebookAuthWindow.close();
};
)};
Many many pre-emptive thanks for your help; and on the topic of help, you
might want to check out the site I'm building (;
www.dev.thinkshare.it/about
No comments:
Post a Comment