Closed Bug 304364 Opened 19 years ago Closed 19 years ago

Select box state improperly reset on Back

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dwightb, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

In the linked example I have a javascript setup to dynamically disable/enable
form fields when radio inputs receive onFocus events.

The drop-down select box starts disabled.  If you select the "Group" radio
option it gets enabled.  However, if you submit the form then press Back it is
disabled again (with the "Group" option still properly selected.)

You can observe the same problem in reverse via:
http://www.improvementroad.com/testcases/dynamic_disable/start-enabled.html
(In that example the select starts enabled but if it is disabled, submitted,
then Back is pressed it starts in it's original state - enabled).

This may be related to
- bug 277891
- bug 285623
- bug 286429
- bug 300016



Reproducible: Always

Steps to Reproduce:
1. Open the example URL
2. Select the "Group" radio option (select box will get enabled)
3. Submit the form
4. Press the Back button or the "back" link

Actual Results:  
Select box is disabled.

Expected Results:  
Select box should be enabled.

This problem does not occur in Opera [8.02] but does occur in Internet Explorer
[6 .0 SP2]
WFM: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050811
Firefox/1.0+

Please reopen if you can reproduce with Firefox alpha 2 (deerpark) or a nighly build
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.