diff --git a/js/ui/scheduler/ui.scheduler.agenda.js b/js/ui/scheduler/ui.scheduler.agenda.js index 06b720f52d2a..6632c16c9074 100644 --- a/js/ui/scheduler/ui.scheduler.agenda.js +++ b/js/ui/scheduler/ui.scheduler.agenda.js @@ -73,6 +73,10 @@ var SchedulerAgenda = SchedulerWorkSpace.inherit({ _renderFocusState: noop, _cleanFocusState: noop, + supportAllDayRow: function() { + return false; + }, + _getElementClass: function() { return AGENDA_CLASS; }, diff --git a/js/ui/scheduler/ui.scheduler.subscribes.js b/js/ui/scheduler/ui.scheduler.subscribes.js index 6a870a949b18..29dad03884e8 100644 --- a/js/ui/scheduler/ui.scheduler.subscribes.js +++ b/js/ui/scheduler/ui.scheduler.subscribes.js @@ -461,7 +461,7 @@ var subscribes = { resources = this._resourcesManager.getResourcesData(), allDay; - if(!this._isAgenda() && !this.option("showAllDayPanel") && this._workSpace.supportAllDayRow()) { + if(!this.option("showAllDayPanel") && this._workSpace.supportAllDayRow()) { allDay = false; }