Loading...
 
Skip to main content

JavaScript Calendar Hidden in Insert New Tracker Item Screen for Tabbed Strasa Theme

Status
Closed
Subject
JavaScript Calendar Hidden in Insert New Tracker Item Screen for Tabbed Strasa Theme
Version
4.x
Category
  • Consistency
  • Regression
  • Usability
Feature
Calendar
Trackers
Resolution status
Partially solved
Submitted by
Ed
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

JavaScript pop-up calendars get hidden behind CSS "layers" in Trackers, especially when using the tabbed view. I've noticed this problem with more than one theme (Strasa and Tikipedia). It's a shame, since the popup calendar (or date picker) is such a useful tool, and works well in the 4.0 Add Calendar Item interface.

Workaround - Turn "tabs" off when inserting a new item, or else use the date selector control (not as nice) also provided with trackers.

The hidden date picker / popup calendar occurs in the latest versions of Explorer and Firefox, so it doesn't seem to be a browser problem, but rather a stylesheet problem (?).

UPDATE - DEC 16, 2009

This bug has been seen before...
http://dev.tikiwiki.org/tiki-view_tracker_item.php?itemId=1585&show=view&trackerId=5

The "fix" can be made locally - see workaround below

Solution
Workaround

To fix locally...

1. Open /lib/jscalendar/calendar.js JavaScript file to edit
2. At about line 743 you will see the following code...

743 if (this.isPopup) {
744 div.style.position = "absolute";
745 div.style.display = "none";
746 }

3. Simply add another line to set the "z-index" of the calendar...

743 if (this.isPopup) {
744 div.style.position = "absolute";
745 div.style.display = "none";
746 div.style.zIndex = "9999999";
747 }

The real fix should probably be made in one of the css files that pertains to tracker tabs, but I'm too much of a newbie to know the exact fix. This works for now and the jscalendar always ends up on top.

Importance
8
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
2896
Created
Tuesday 24 November, 2009 21:15:25 UTC
by Ed
LastModif
Monday 01 June, 2026 17:20:04 UTC


Show PHP error messages