Closed Bug 357200 Opened 18 years ago Closed 17 years ago

Radio buttons are disabled on refresh

Categories

(Core :: DOM: Navigation, defect)

1.8 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: jaredbrown, Unassigned)

Details

(Whiteboard: CLOSEME - 06/19)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0

I use a javascript function to disable some radio buttons at run time as well as enable a submit button. After the script runs (triggered by an onclick event) the radio button elements disable properly. Yet upon a refresh of the window they remain disabled when they should return their unaltered state just as the submit button does (it returns to its disabled state properly).

Reproducible: Always

Steps to Reproduce:
1. Use Javascript to disable radio buttons
2. Refresh page
3. Radio buttons remain disabled

Actual Results:  
The radio buttons remained disabled.

Expected Results:  
The radio buttons should have been enabled as they were the first time the page was visited.

*** This bug has been marked as a duplicate of 46845 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
This bug was related specifically to the radio buttons saving their disabled states in the Form Manager, although other form elements such as the submit button do not save their disabled state in the Form Manager. This is inconsistent, and in saving the disabled state of the radio buttons causes a problem. This is something that requires attention, and is not a bug relating to the greater principles of the Form Manager, just the saving of the disabled state of the radio button.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Well, no, it's nothing to do with the Form Manager, which remembers values in submitted type="text" inputs between sessions.
Component: Form Manager → History: Session
Product: Firefox → Core
QA Contact: form.manager → history.session
Version: unspecified → 1.8 Branch
(In reply to comment #3)
> Well, no, it's nothing to do with the Form Manager, which remembers values in
> submitted type="text" inputs between sessions.
> 

Ok, then what appears to be the cause of the bug?
Can you attach a minimal testcase to show the bug? Or if the bug is no longer present, please mark this bug as INVALID. Thanks.
Whiteboard: CLOSEME
Whiteboard: CLOSEME → CLOSEME - 06/19
No response from reporter -> INCOMPLETE

Reporter, feel free to re-open this bug if you still see this bug with the latest release of Firefox and can provide a testcase per comment #5.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago17 years ago
Resolution: --- → INCOMPLETE
Component: History: Session → Document Navigation
QA Contact: history.session → docshell
You need to log in before you can comment on or make changes to this bug.