diff --git a/deluge/plugins/scheduler/scheduler/data/scheduler.js b/deluge/plugins/scheduler/scheduler/data/scheduler.js index 23dc1f107..2b3f9001e 100644 --- a/deluge/plugins/scheduler/scheduler/data/scheduler.js +++ b/deluge/plugins/scheduler/scheduler/data/scheduler.js @@ -483,7 +483,11 @@ Deluge.ux.ScheduleSelector = Ext.extend(Ext.form.FieldSet, { var hourConfig = config[i]; for (var j=0; j < this.daysOfWeek.length; j++) { - var cell = this.scheduleCells[this.daysOfWeek[j]][i]; + if (this.scheduleCells == undefined) { + var cell = hourConfig[j]; + } else { + var cell = this.scheduleCells[this.daysOfWeek[j]][i]; + } cell.currentValue = cell.oldValue = hourConfig[j]; this.updateCell(cell); }