Closed
Bug 128736
Opened 23 years ago
Closed 22 years ago
controlElementID.focus() should be controlElement.focus()
Categories
(Core :: XUL, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 206055
People
(Reporter: neil, Assigned: hyatt)
References
()
Details
(Keywords: polish)
Attachments
(1 file)
579 bytes,
patch
|
Details | Diff | Splinter Review |
Reporter | ||
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
Should this go into 0.9.9? How exactly does the bug bite, and how likely is
that reproduce-by case?
Nit: someone (not Neil) mixed 'if (' and 'if(' styles -- the latter badly.
What's more, there's no need to test controlElement if !controlElementID:
var controlElementID = this.getAttribute('control');
if (controlElementID) {
var controlElement = document.getElementById(controlElementID);
if (controlElement)
controlElementID.focus();
}
/be
Blocks: 122050
Keywords: mozilla0.9.9
Comment 3•23 years ago
|
||
I suggested that Neil file this, but I didn't look at what code the bug is in.
I think this code should just be removed (I thought I had removed it already, in
fact.) Clicking on a control with a control association doesn't focus the
associated control in Windows, so why should it in our app?
Reporter | ||
Comment 4•23 years ago
|
||
Blake, bonsai fingered you last time I looked :-)
Perhaps this was added to correlate with the HTML <LABEL> element.
Comment 5•23 years ago
|
||
If this is just for focusing a textbox when a label is clicked, then yeah, let's
remove this.
Reporter | ||
Comment 7•22 years ago
|
||
*** Bug 201939 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 8•22 years ago
|
||
*** This bug has been marked as a duplicate of 206055 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•