Dont allow arrow key event processing in radiogroup unless focus is on radio button. b=149517, r=brade, sr=hewitt

This commit is contained in:
cmanske%netscape.com 2002-08-15 22:12:01 +00:00
Родитель e042b09ee1
Коммит 36cbd2e832
1 изменённых файлов: 4 добавлений и 0 удалений

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

@ -114,6 +114,10 @@
<body>
<![CDATA[
var currentElement = this.focusedItem;
// If focused item isn't a radio button, do nothing!
// (This allows textbox to work inside a radiogroup)
if (!currentElement)
return;
var index, i;
var children = this._getRadioChildren();
for (i = 0; i < children.length; ++i ) {