Bug 344369, redesign label to specify control element directly, p=surkov, r=enndeakin+neil

This commit is contained in:
Olli.Pettay%helsinki.fi 2007-02-01 15:59:54 +00:00
Родитель a04f24f617
Коммит 55943fc855
1 изменённых файлов: 1 добавлений и 4 удалений

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

@ -272,10 +272,7 @@
<handlers>
<handler event="click" action="if (this.disabled) return;
var controlElementID = this.getAttribute('control');
var controlElement;
if (controlElementID)
controlElement = document.getElementById(controlElementID);
var controlElement = this.labeledControlElement;
if(controlElement)
controlElement.focus();
"/>