commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21043] - javascript mask validator fails when field is disabled
Date Tue, 23 Nov 2004 23:35:35 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=21043>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=21043


mpb@ntsource.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpb@ntsource.com
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Additional Comments From mpb@ntsource.com  2004-11-24 00:35 -------
I think this bug has reappeared since the bug fix for bug #27889 - not with
disabled fields though, but with hidden fields. It appears as though IE at least
(and I haven't tested with Firefox, et al yet sorry) needs a field to be
non-hidden and non-disabled in order to set the focus onto the field. Before
#27889 was applied, hidden fields were not checked, so this couldn't have been a
problem. 

I think a check needs to be added to the javascript to see if the field is
hidden, and if it is, do not set it to be the focusField. Something like:

if(!(field.type == 'hidden')) {
  focusField = field;
}

Unfortunatley I don't have time to work on a patch for this right now, but I
will after the holidays if nobody has yet.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message