Closed
Bug 11620
Opened 26 years ago
Closed 26 years ago
Form elments inside labels don't disable
Categories
(Core :: Layout: Form Controls, defect, P3)
Core
Layout: Form Controls
Tracking
()
VERIFIED
FIXED
People
(Reporter: mikepinkerton, Assigned: rods)
References
Details
(Whiteboard: Fixed in my tree; waiting to checkin)
The code in nsLabelFrame::HandleEvent does this:
if (nsEventStatus_eConsumeNoDefault != aEventStatus) {
mControlFrame->MouseClicked(&aPresContext);
}
there is no check for the state of the disabled attribute here. I tried just
putting in
if (nsEventStatus_eConsumeNoDefault != aEventStatus) {
if ( !nsFormFrame::GetDisabled(mControlFrame) )
mControlFrame->MouseClicked(&aPresContext);
}
but this didn't compile because mControlFrame is an nsFormControlFrame, not and
nsIFrame. Didn't know the right thing to do, so i just left it and opened the bug
;).
Updated•26 years ago
|
Assignee: karnaze → kmcclusk
Comment 1•26 years ago
|
||
Reassigning to Kevin.
Updated•26 years ago
|
Assignee: kmcclusk → rods
Comment 2•26 years ago
|
||
Rod, since your working on the form element disabling I'm reassigning to you.
Assignee | ||
Updated•26 years ago
|
Whiteboard: Fixed in my tree; waiting to checkin
Assignee | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 3•26 years ago
|
||
Fixed.
Comment 5•25 years ago
|
||
Mike Pinkerton, would you like to verify this one ?
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment hidden (Intermittent Failures Robot) |
You need to log in
before you can comment on or make changes to this bug.
Description
•