Re: [web2py] Re: nyroModal

2011-11-06 Thread Russell McMurray
Hi Kenneth, nyroModalRemove() is a standard nyroModal call. What version of nyroModal are you using? I'm using 1.6.2, which I see has been replaced by version 2, so maybe the call is depreciated? My only other thought is...are you opening nyroModal in an iframe? I initiate the modal window

Re: [web2py] Re: nyroModal

2011-11-04 Thread Kenneth Lundström
Hi Russell, Have you defined nyroModalRemove somewhere? I'm getting parent.$.nyroModalRemove is not a function when using your suggested three lines. Kenneth return_script = ['parent.$.nyroModalRemove();'] return_script.append('parent.window.location.reload();')

[web2py] Re: nyroModal

2011-11-01 Thread Limedrop
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