CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #1618

hideShowCovered not working for select-boxes in Safari

Added by Andreas no-lastname-given over 4 years ago. Updated over 2 years ago.

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

Revision 8131
Added by Oliver Klee over 5 years ago

[Bug 1618] Add a RU localization (localization by Stas Kobzar), no review

Revision 8141
Added by Oliver Klee over 5 years ago

[Bug 1618] Add a RU localization (localization by Stas Kobzar), no review

Also available in: Atom PDF