Bug #1618
hideShowCovered not working for select-boxes in Safari
| Status: | New | Start date: | 2008-09-30 | |
|---|---|---|---|---|
| Priority: | Must have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Votes: | 0 |
Description
Hello Robert,
I've a form (powermail extended to use rlmp_dateselectlib) with 4 select boxes. 3 of them get covered by the date selector.
The select boxes get hidden when the date selector pops up. After closing the date selector the select boxes are still hidden.
After a while of debugging I've found, that in the case of Safari the Function getVisib() returns ''. Changing value = ''; to value = 'visible'; fixes the problem for me.
I didn't find any side effects yet.
if (!value) {
if (document.defaultView && typeof (document.defaultView.getComputedStyle) == "function") { // Gecko, W3C
if (!tx_rlmpdateselectlib_calendar.is_khtml) {
value = document.defaultView.
getComputedStyle(obj, "").getPropertyValue("visibility");
}
else {
- value = '';
+ value = 'visible';
If you need any further information, please feel free to contact me!
Andreas
Associated revisions
[Bug 1618] Add a RU localization (localization by Stas Kobzar), no review
[Bug 1618] Add a RU localization (localization by Stas Kobzar), no review