ソースを参照

fix columns being incorrectly queries since removal of fc-day class on disabled cells

Adam Shaw 9 年 前
コミット
74d4dbbd0a
2 ファイル変更2 行追加2 行削除
  1. 1 1
      src/common/DayGrid.js
  2. 1 1
      src/common/TimeGrid.js

+ 1 - 1
src/common/DayGrid.js

@@ -32,7 +32,7 @@ var DayGrid = FC.DayGrid = Grid.extend(DayTableMixin, {
 		this.el.html(html);
 
 		this.rowEls = this.el.find('.fc-row');
-		this.cellEls = this.el.find('.fc-day');
+		this.cellEls = this.el.find('.fc-day, .fc-disabled-day');
 
 		this.rowCoordCache = new CoordCache({
 			els: this.rowEls,

+ 1 - 1
src/common/TimeGrid.js

@@ -33,7 +33,7 @@ var TimeGrid = FC.TimeGrid = Grid.extend(DayTableMixin, {
 	// Relies on the view's colCnt. In the future, this component should probably be self-sufficient.
 	renderDates: function() {
 		this.el.html(this.renderHtml());
-		this.colEls = this.el.find('.fc-day');
+		this.colEls = this.el.find('.fc-day, .fc-disabled-day');
 		this.slatContainerEl = this.el.find('.fc-slats');
 		this.slatEls = this.slatContainerEl.find('tr');