You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/11/24 00:35:35 UTC
DO NOT REPLY [Bug 21043] -
javascript mask validator fails when field is disabled
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