зеркало из https://github.com/mozilla/gecko-dev.git
Bug 344369, redesign label to specify control element directly, p=surkov, r=enndeakin+neil
This commit is contained in:
Родитель
a04f24f617
Коммит
55943fc855
|
@ -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();
|
||||
"/>
|
||||
|
|
Загрузка…
Ссылка в новой задаче