Bug 344369, redesign label to specify control element directly, p=surkov, r=enndeakin+neil
git-svn-id: svn://10.0.0.236/trunk@219323 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
4b956025f4
commit
008258da9a
@ -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