Bubble box of event should not overlap event cell

pull/12/head
Francis Lachapelle 2013-07-17 14:57:07 -04:00
parent 7dad5ad84e
commit 249a1fcf14
2 changed files with 3 additions and 3 deletions

2
NEWS
View File

@ -6,7 +6,7 @@ New features
- allow the events/tasks lists to be collapsable
Enhancements
-
- bubble box of events no longer overlaps the current event
Bug fixes
- properly handle RFC2231 everywhere

View File

@ -723,9 +723,9 @@ function onViewEventCallback(http) {
top -= cell.up("DIV.day").scrollTop;
}
left = cellPosition[0] + cellDimensions["width"] - parseInt(cellDimensions["width"]/3);
left = cellPosition[0] + cellDimensions["width"] + 4;
if (left + divDimensions["width"] > window.width()) {
left = cellPosition[0] - divDimensions["width"] + 10;
left = cellPosition[0] - divDimensions["width"];
div.removeClassName("left");
div.addClassName("right");
}