mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-13 01:08:50 +00:00
merge of '2e6ec6866313aade92a1bcb4405a7ef0ff26696c'
and '9b15232c558892eb4787b921845df76e7ed25b71' Monotone-Parent: 2e6ec6866313aade92a1bcb4405a7ef0ff26696c Monotone-Parent: 9b15232c558892eb4787b921845df76e7ed25b71 Monotone-Revision: f8795baa052d7d5b6da4d6c947c91e65a2da600a Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-06-04T00:41:08 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -81,8 +81,7 @@
|
||||
|
||||
/* recurrences */
|
||||
- (iCalRepeatableEntityObject *) lookupOccurence: (NSString *) recID;
|
||||
- (SOGoComponentOccurence *)
|
||||
occurence: (iCalRepeatableEntityObject *) component;
|
||||
- (SOGoComponentOccurence *) occurence: (iCalRepeatableEntityObject *) component;
|
||||
- (iCalRepeatableEntityObject *) newOccurenceWithID: (NSString *) recID;
|
||||
|
||||
@end
|
||||
|
||||
@@ -444,7 +444,9 @@ DIV#daysView
|
||||
border-left: 1px solid #ccc;
|
||||
border-bottom: 1px solid #ccc;
|
||||
border-top: 1px solid #ccc;
|
||||
overflow: auto; }
|
||||
overflow: auto;
|
||||
overflow-x: hidden;
|
||||
right: 0px;}
|
||||
|
||||
DIV#calendarHeader
|
||||
{ top: 3.5em;
|
||||
@@ -461,8 +463,8 @@ DIV#calendarHeader DIV.days
|
||||
border-top: 1px solid #ccc;
|
||||
left: 5em;
|
||||
margin-left: 2px;
|
||||
margin-right: 16px;
|
||||
right: 0px;
|
||||
margin-right: 16px; /* scrollbar width */
|
||||
right: 1px;
|
||||
overflow: hidden; }
|
||||
|
||||
DIV#calendarHeader DIV.dayLabels
|
||||
@@ -524,7 +526,9 @@ DIV#daysView DIV.days
|
||||
height: 96em;
|
||||
top: 0px;
|
||||
left: 5em;
|
||||
right: 2px; }
|
||||
right: 2px;
|
||||
/* width is specified dynamically through JavaScript */
|
||||
}
|
||||
|
||||
DIV.multicolumnDayView DIV.lastDayUser
|
||||
{ border-right: 1px solid #ccc; }
|
||||
|
||||
@@ -965,6 +965,7 @@ function refreshCalendarEventsCallback(http) {
|
||||
_drawCalendarAllDayEvents(eventsBlocks[1], eventsBlocks[0]);
|
||||
_drawCalendarEvents(eventsBlocks[2], eventsBlocks[0]);
|
||||
}
|
||||
onWindowResize(null);
|
||||
}
|
||||
scrollDayView(http.callbackData["scrollEvent"]);
|
||||
}
|
||||
@@ -1991,6 +1992,16 @@ function onWindowResize(event) {
|
||||
handle = $("rightDragHandle");
|
||||
if (handle)
|
||||
handle.adjust();
|
||||
|
||||
if (Prototype.Browser.IE) {
|
||||
var days = $$("DIV#daysView DIV.days");
|
||||
var labels = $$("DIV#calendarHeader DIV.days");
|
||||
if (days.length && labels.length) {
|
||||
var day = days[0];
|
||||
var label = labels[0];
|
||||
day.setStyle({ width: (label.getWidth()-1) + "px" });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function initCalendars() {
|
||||
|
||||
Reference in New Issue
Block a user