[Nitro] javascript and session

zimba-tm zimba.tm at gmail.com
Tue Nov 22 04:36:00 EST 2005

First, don't use popups !

Second ,it looks like your form gets submitted, so logically, the rest
of the script is not executed. Could it that be it ?

On 22/11/05, Emmanuel Piperakis <epiperak at softlab.ece.ntua.gr> wrote:
> I have a small problem,
> from a template file I have to call the following javascript
> <a href="#" onClick="document.tenant_edi_form.submit();
> window.opener.location.reload();
> self.close();return false;">[[update]]</a>
> and the problem occurs with window.opener.location.reload();
> which apparently clears the session!!! why? How can I reload my parent
> window (in order to reflect the changes I made in the popup edit windows)
> ???
> Thanx
> Emmanouil Piperakis (epiperak at cs.ntua.gr)
> {To explore is Human, to Create is Devine,
>   To teach is Primal, to Rule is Sin}
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general



More information about the Nitro-general mailing list