Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon4.gif   Losing field 'focus' when using Conditional Attributes, posted by Steve Jones on Tue May 30 17:54:21 2006 
    icon2.gif   Re: Losing field 'focus' when using Conditional Attributes, posted by Steve Jones on Tue May 30 17:57:46 2006 
       icon2.gif   Re: Losing field 'focus' when using Conditional Attributes, posted by Stefan Ritt on Tue Jun 13 08:51:38 2006 
          icon14.gif   Re: Losing field 'focus' when using Conditional Attributes, posted by Steve Jones on Fri Jun 23 19:24:12 2006 
Message ID: 1841     Entry time: Tue May 30 17:54:21 2006     Reply to this: 1842
Icon: Warning  Author: Steve Jones  Author Email: steve.jones@freescale.com 
Category: Bug report  OS: All  ELOG Version: 2.6.1-1681 
Subject: Losing field 'focus' when using Conditional Attributes 
Stefan, any way to address this? It appears to only be applicable when one defines conditional Options - when javascript updates the conditional lists the input focus appears to shift to the HTML edit area. I am still running ELOG V2.6.1-1681 and this is under Windows (my test system).


With version 2.6.1 rev 1681 I believe this is when I started seeing the behavior such that when a conditional attribute value is selected the focus switches to the message entry window. It looks like when the javascript cond_submit() is called for some reason on returning focus defaults to the message window. This occurs under Windows (rev 1861) and Solaris (rev 1864). I can see in function chkform() that focus is returned for checking Required attributes, but I see nothing for conditional attributes.

Thanks
ELOG V3.1.5-fe60aaf