Closed
Bug 269277
Opened 20 years ago
Closed 20 years ago
If post request from button type image is made, and the style display of the button is 'none', form data for that image button is not submitted.
Categories
(Toolkit :: Form Manager, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: brandon.croft, Assigned: dveditz)
References
Details
(Keywords: testcase)
Attachments
(1 file)
|
554 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 In the onclick image button method, I hide the button using display 'none' so it cant be clicked twice. When the post request is made, the image button's normal values (name.x & name.y) are not sent with the request. Reproducible: Always Steps to Reproduce: 1. Hide an imagebutton before submission takes place 2. Examine form data Actual Results: form data for image button is missing (name.x, name.y)
Comment 1•20 years ago
|
||
Comment 2•20 years ago
|
||
Also happens in Seamonkey -> Moving to Browser Confirming
Assignee: firefox → dveditz
Status: UNCONFIRMED → NEW
Component: General → Form Manager
Ever confirmed: true
OS: Windows XP → All
Product: Firefox → Browser
QA Contact: firefox.general
Version: unspecified → 1.7 Branch
Comment 3•20 years ago
|
||
also happens in trunk Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20041110 Firefox/0.9.1+
Keywords: testcase
Version: 1.7 Branch → Trunk
Comment 4•20 years ago
|
||
This is correct. By the time the submit is being processed, we don't have a visual object corresponding to the image, and hence the coordinates would make no sense.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
Comment 5•20 years ago
|
||
Suggested workaround: set event.target.style.visibility='hidden' rather than event.target.style.display='none'
You need to log in
before you can comment on or make changes to this bug.
Description
•