mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 04:15:26 +00:00
Bubble box of event should not overlap event cell
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user