Closed
Bug 298601
Opened 20 years ago
Closed 20 years ago
Checkbox becomes unchecked after refresh when javascript enables it
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: paul, Unassigned)
References
()
Details
Attachments
(1 file)
|
680 bytes,
text/html
|
Details |
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; en) Opera 8.01 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3 When you view this page the first time, it comes up OK, but then if you refresh it the 'Administrator' checkbox becomes unticked. The key seems to be the line of Javascript which removes the 'disabled' flag on the checkbox. That works OK the first time the page is displayed, but on refreshes the checkbox isn't checked like it should be Reproducible: Always Steps to Reproduce: 1. Load the above page 2. Refresh it 3. Actual Results: The 'Administrator' checkbox was enabled and cleared after the refresh Expected Results: The 'Administrator' checkbox should have been enabled and checked after the refresh as it was before it.
Comment 1•20 years ago
|
||
I can confirm this with a Firefox 1.0 build on winxpsp2 but not in a recent deer park build. This isn't really JavaScript engine, but is more related to DOM HTML. Moving over and marking works for me since it is fixed on the trunk and 1.0.x is locked down for security fixes and major regressions only.
Assignee: general → general
Component: JavaScript Engine → DOM: HTML
QA Contact: general → ian
Comment 2•20 years ago
|
||
wmf
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Version: Trunk → 1.0 Branch
Comment 3•20 years ago
|
||
WFM Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050623 Firefox/1.0+ ID:2005062303
| Reporter | ||
Comment 4•20 years ago
|
||
The HTML file for reproducing the bug (in case it disappears from our webserver on a sync in the future)
You need to log in
before you can comment on or make changes to this bug.
Description
•