mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-09 16:57:36 +00:00
Bug 344369, redesign label to specify control element directly, p=surkov, r=enndeakin+neil
This commit is contained in:
parent
a04f24f617
commit
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();
|
||||
"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user