Explorar o código

TimeGrid should accumulate render fills

Adam Shaw %!s(int64=8) %!d(string=hai) anos
pai
achega
9afc1f3476
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  1. 6 1
      src/common/DayGrid.js

+ 6 - 1
src/common/DayGrid.js

@@ -437,7 +437,12 @@ var DayGrid = FC.DayGrid = Grid.extend(DayTableMixin, {
 			nodes.push(skeletonEl[0]);
 		}
 
-		this.elsByFill[type] = $(nodes);
+		if (this.elsByFill[type]) {
+			this.elsByFill[type] = this.elsByFill[type].add(nodes);
+		}
+		else {
+			this.elsByFill[type] = $(nodes);
+		}
 
 		return segs;
 	},