This is what I do:

    if form.accepts(request.vars, session):
        return_script = ['parent.$.nyroModalRemove();']
        return_script.append('parent.window.location.reload();')
        return HTML(BODY(SCRIPT(''.join(return_script)))).xml()



On Nov 1, 8:19 pm, Kenneth Lundström <[email protected]>
wrote:
> Hi,
>
> I'm using nyroModal to open a SQLFORM in a modal window. When I submit
> the form I want to the modal window to close and the parent window to
> refresh. Is this possible?
>
> Kenneth

Reply via email to