Skip to content

Commit

Permalink
Refactoring after T602513 fixing (#2853)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yarovaya authored Feb 5, 2018
1 parent 1be0d06 commit 615ad10
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions js/ui/scheduler/ui.scheduler.agenda.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ var SchedulerAgenda = SchedulerWorkSpace.inherit({
_renderFocusState: noop,
_cleanFocusState: noop,

supportAllDayRow: function() {
return false;
},

_getElementClass: function() {
return AGENDA_CLASS;
},
Expand Down
2 changes: 1 addition & 1 deletion js/ui/scheduler/ui.scheduler.subscribes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 615ad10

Please sign in to comment.