Bubble box of event should not overlap event cell
parent
7dad5ad84e
commit
249a1fcf14
2
NEWS
2
NEWS
|
@ -6,7 +6,7 @@ New features
|
||||||
- allow the events/tasks lists to be collapsable
|
- allow the events/tasks lists to be collapsable
|
||||||
|
|
||||||
Enhancements
|
Enhancements
|
||||||
-
|
- bubble box of events no longer overlaps the current event
|
||||||
|
|
||||||
Bug fixes
|
Bug fixes
|
||||||
- properly handle RFC2231 everywhere
|
- properly handle RFC2231 everywhere
|
||||||
|
|
|
@ -723,9 +723,9 @@ function onViewEventCallback(http) {
|
||||||
top -= cell.up("DIV.day").scrollTop;
|
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()) {
|
if (left + divDimensions["width"] > window.width()) {
|
||||||
left = cellPosition[0] - divDimensions["width"] + 10;
|
left = cellPosition[0] - divDimensions["width"];
|
||||||
div.removeClassName("left");
|
div.removeClassName("left");
|
||||||
div.addClassName("right");
|
div.addClassName("right");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue