Re: Force an ajax window to close

2011-03-30 Thread Calvin Spealman
You could add a header to the HTTP response that the JS on the clientside can see and interpret as "OK, this is ready to close now." I have done something similar to cause ajax-submitted forms to cause a redirect in the containing page. On Wed, Mar 30, 2011 at 10:24 PM, Mike Ramirez wrote: > On W

Re: Force an ajax window to close

2011-03-30 Thread Mike Ramirez
On Wednesday, March 30, 2011 06:36:56 pm CrabbyPete wrote: > I have a ajax form using smoothbox and mootools to show a form. > Smoothbox has a button to close the box, but I want to force it closed > once the submit button is pressed and the form validated. Is there a > way django can close a brows

Force an ajax window to close

2011-03-30 Thread CrabbyPete
I have a ajax form using smoothbox and mootools to show a form. Smoothbox has a button to close the box, but I want to force it closed once the submit button is pressed and the form validated. Is there a way django can close a browser window? -- You received this message because you are subscribe