diff --git a/frontend/app/components/wp-table/timeline/wp-timeline-cell-mouse-handler.ts b/frontend/app/components/wp-table/timeline/wp-timeline-cell-mouse-handler.ts index 7d363d6101..edcb233147 100644 --- a/frontend/app/components/wp-table/timeline/wp-timeline-cell-mouse-handler.ts +++ b/frontend/app/components/wp-table/timeline/wp-timeline-cell-mouse-handler.ts @@ -165,7 +165,8 @@ export function registerWorkPackageMouseHandler(this: void, const widthInDays = offsetDayCurrent - offsetDayStart; const moved = renderer.onDaysMoved(wp, dayUnderCursor, widthInDays, mouseDownType); renderer.assignDateValues(wp, moved); - renderer.update(cell, bar, renderInfo); + wpCacheService.updateWorkPackage(wp); + }; cell.onmouseleave = () => { diff --git a/frontend/app/components/wp-table/timeline/wp-timeline.header.ts b/frontend/app/components/wp-table/timeline/wp-timeline.header.ts index 99124c2aa1..1264c1b414 100644 --- a/frontend/app/components/wp-table/timeline/wp-timeline.header.ts +++ b/frontend/app/components/wp-table/timeline/wp-timeline.header.ts @@ -198,6 +198,27 @@ export class WpTimelineHeader { this.headerCell = jQuery(cssClassHeader)[0]; this.outerHeader = jQuery(cssHeaderContainer); this.setupScrollbar(); + + + + // TODO TEST + + // const b = document.createElement("div"); + // b.style.display = "block"; + // b.style.position = "absolut"; + // b.style.left = "50px"; + // b.style.top = "10px"; + // b.style.backgroundColor = "red"; + // b.style.width = "50px"; + // b.style.height = "50px"; + // b.style.zIndex = "99999"; + // + // this.headerCell.appendChild(b); + // console.log(b); + + + + // TODO TEST } this.containerHeight = jQuery(cssClassTableContainer).outerHeight() + this.headerHeight;