From: Michael J. Rubinsky Date: Sun, 1 Aug 2010 20:14:29 +0000 (-0400) Subject: ensure calendar is always on top. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=aac4082c57085293bbb76de9915db9b5a0727e82;p=horde.git ensure calendar is always on top. Fixes kronolith's event dialog hiding the calendar --- diff --git a/horde/js/calendar.js b/horde/js/calendar.js index 76718fae5..d104a7d73 100644 --- a/horde/js/calendar.js +++ b/horde/js/calendar.js @@ -200,8 +200,9 @@ var Horde_Calendar = display: 'block', zIndex: 1 }); - div.setStyle({ zIndex: 2 }); } + + div.setStyle({ zIndex: 999 }); }, hideCal: function() @@ -290,7 +291,7 @@ var Horde_Calendar = } thead.insert(row); - $(document.body).insert({ bottom: new Element('DIV', { id: 'hordeCalendar' }).setStyle({ position: 'absolute' }).hide().insert(table) }); + $(document.body).insert({ bottom: new Element('DIV', { id: 'hordeCalendar' }).setStyle({ position: 'absolute', 'z-index': 999 }).hide().insert(table) }); $('hordeCalendar').observe('click', this.clickHandler.bindAsEventListener(this)); },