Element hide/show should preserve inline displays
Reported by quamis | June 20th, 2008 @ 09:44 AM | in 1.6.1
Element.show, and element.hide does not keep track of the inital state of the element( display:inline for example)
I used the following patch to override the default methods. Maybe anyone else would be interesed.
Comments and changes to this ticket
-
John-David Dalton June 20th, 2008 @ 08:37 PM
- → State changed from new to enhancement
Ya I had that in my fork too but it was removed for the 1.6.0.3. Not sure why.
link: commit
link: unit tests
-
John-David Dalton June 20th, 2008 @ 08:38 PM
- → Title changed from Element.show(), .hide() to Element hide/show should preserve inline displays
-
John-David Dalton June 20th, 2008 @ 08:39 PM
- → Assigned user changed from to John-David Dalton
-
John-David Dalton June 24th, 2008 @ 05:50 PM
- → Milestone changed from to 1.6.1
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
The Prototype JavaScript library.
