Open
Bug 592665
Opened 14 years ago
Updated 2 years ago
button disabled when reloading
Categories
(Core :: General, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: angelo.borsotti, Unassigned)
References
(Depends on 1 open bug)
Details
(Whiteboard: DUPEME)
Attachments
(1 file)
25.08 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.9) Gecko/20100824 Firefox/3.6.9 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.9) Gecko/20100824 The attached page contains a button and an hidden DIV containing a table and three buttons. The table by clicking on a button. When it is loaded the first time, or with SHIFT + reload, the second button in the DIV is enabled (by default). If the DIV is displayed, and the page reloaded, the said button is shown as disabled. Reproducible: Always Steps to Reproduce: 1. load the attached page 2. note the value of the "displayed" property of the "paraadd" button (false) 3. click on "paradigmi", a table is displayed with three buttons below it. 4. reload the page: note that the "paraadd" button is now disabled 5. reload the page with SHIFT reload: the same button is now enabled Actual Results: The page contains some javascript code, that is executed only when the "paradigmi" button is clicked. Thus, when it is loaded the second time, no javascript code is executed. The disabled property of "paraadd" button is then not changed by the page itself when the page is reloaded (and by the way it is never changed anyway by the javascript in the page). However, is seems that upon reloading the button is disabled depending on what the user has done on the page prior to reloading. This is strange even because before reloading that button was not disabled. I have reduced the page as much as possible. Expected Results: That the button is shown as enabled.
Reporter | ||
Comment 1•14 years ago
|
||
Comment 2•14 years ago
|
||
We restore the disabled state of buttons on reload; the issue here is restoring to the wrong element...
Whiteboard: DUPEME
Reporter | ||
Comment 3•14 years ago
|
||
Exactly. Is there something the javascript in a page can do to prevent such restore?
Comment 4•13 years ago
|
||
If bug 654072 is fixed, we won't attempt to restore the disabled state, so I guess this will be fixed as well.
Depends on: 654072
Comment 5•13 years ago
|
||
This also looks similar to bug 516920.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•