Adam Shaw 8 лет назад
Родитель
Сommit
0c16ab39f1
1 измененных файлов с 1 добавлено и 9 удалено
  1. 1 9
      src/agenda/TimeGrid.js

+ 1 - 9
src/agenda/TimeGrid.js

@@ -650,15 +650,7 @@ var TimeGrid = FC.TimeGrid = InteractiveDateComponent.extend(StandardInteraction
 });
 
 
-TimeGrid.watch('displayingSlats', [ 'dateProfile' ], function(deps) {
+TimeGrid.watch('displayingDates', [ 'dateProfile' ], function(deps) {
 	this.requestRender(this.renderSlats, [ deps.dateProfile ], 'slats', 'destroy');
-});
-
-
-TimeGrid.watch('displayingColumns', [ 'dateProfile' ], function(deps) {
 	this.requestRender(this.renderColumns, [ deps.dateProfile ], 'columns', 'destroy');
 });
-
-
-TimeGrid.watch('displayingDates', [ 'displayingSlats', 'displayingColumns' ], function(deps) {
-});