Radio focus handling not quite correct (91880). Patch by Neil <neil@parkwaycc.co.uk>. r=hwaara sr=blake

This commit is contained in:
blakeross%telocity.com 2001-07-25 06:14:25 +00:00
Родитель 4c4468f452
Коммит 27763b6faf
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -171,8 +171,10 @@
it is not (Windows platform behaviour is for the group to receive focus,
not the item -->
<handler event="focus">
this.setAttribute("focused", "true");
if (this.focusedItem == null) this.focusedItem = this.selectedItem;
if (event.target == this) {
this.setAttribute("focused", "true");
if (this.focusedItem == null) this.focusedItem = this.selectedItem;
}
</handler>
<handler event="blur">
this.removeAttribute("focused");