mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 20:44:50 +00:00
[#2238] [Scheduler] Fix undefined this.scheduleCells
This commit is contained in:
parent
f77440efcb
commit
5d5edd2639
@ -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++) {
|
||||
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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user