       @setRowData event.parent_id, 'deletedChildren', deletedChildren
       for ancestor_id in @api.view.data.allAncestors event.id, { inclusive: false }
         @_rebuildTreeTimes ancestor_id
+
     onRowAdded: (event) ->
       deletedChildren = (@getRowData event.parent_id, 'deletedChildren') ? {}
       if event.id of deletedChildren

      day.setSeconds 0
      day.setMilliseconds 0
      day
    # Return one timestamp on each day between the two timetamps, inclusive
    daysBetween: (start, stop) ->
      cur = @dateOf start

        dailyTime[key] = (dailyTime[key] ? 0) + period.time
      @setRowData row.id, "rowTotalTime", totalTime
      @setRowData row.id, "rowDailyTime", dailyTime

    _addTimeToAncestors: (row, time, day) ->
      for ancestorId in @api.view.data.allAncestors row.id, { inclusive: true }
        @transformRowData ancestorId, "treeTotalTime", (current) ->
