Try this:
if form.accepts(....): return HTML(BODY(SCRIPT('window.close()'))).xml
()
On Dec 18, 8:24 am, "richard.ree" <[email protected]> wrote:
> Can anyone suggest how I can close a popup window that shows a
> SQLFORM, after a successful form.accepts()? Thanks in advance,
>
> -Rick
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---