Fix problem where you cannot set or remove the focus on a textfield using JS call focus() or blur(). Now with this fix, we may have another bug showing up that don't let you tab outside the field. hyatt has a bug filed for that. R=hyatt.

This commit is contained in:
ducarroz%netscape.com 2000-04-21 01:16:58 +00:00
parent 9e1fe42e0f
commit 2b4f305183

View File

@ -276,8 +276,8 @@
onget="return this.anonymousContent[0].firstChild.readonly;"/>
</interface>
<handlers>
<handler type="focus" value="this.setAttribute('focused','true');"/>
<handler type="blur" value="this.removeAttribute('focused');"/>
<handler type="focus" value="this.setAttribute('focused','true'); this.anonymousContent[0].firstChild.focus();"/>
<handler type="blur" value="this.removeAttribute('focused'); this.anonymousContent[0].firstChild.blur();"/>
</handlers>
</binding>