Closed
Bug 125421
Opened 23 years ago
Closed 22 years ago
select form control restores selections on back based on element's position
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
Future
People
(Reporter: kiko, Assigned: john)
References
Details
Problem (assumes you have a select control in a submittable form, such as query.cgi): have a select form control with MULTIPLE select a number of the form control's elements submit form press back button Results: control's contents are restored. This is expected. However, the problem lies in the fact that they are restored based on their original _position_ and not their _contents_. This usually isn't a problem _unless_ the select control is filled in dynamically, in which case the wrong selections will be restored. This is a pretty tricky bug to reproduce, but because Bugzilla's query.cgi is the select control burn-in test, we've uncovered it. jkeiser has given me some feedback on it, and i'm looking at the code
Reporter | ||
Comment 1•23 years ago
|
||
Relevant functions at: http://lxr.mozilla.org/seamonkey/source/content/html/content/src/nsHTMLSelectElement.cpp#1809 and closeby http://lxr.mozilla.org/seamonkey/source/content/html/content/src/nsHTMLSelectElement.cpp#1842
Comment 3•23 years ago
|
||
*** Bug 128013 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 5•22 years ago
|
||
Duping to bug 95622 since that one has the adt and nsbeta1 notations *** This bug has been marked as a duplicate of 95622 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•