mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-09 09:58:39 +00:00
[#2238] [Scheduler] Fix undefined this.scheduleCells
This commit is contained in:
parent
f77440efcb
commit
5d5edd2639
1 changed files with 5 additions and 1 deletions
|
@ -483,7 +483,11 @@ Deluge.ux.ScheduleSelector = Ext.extend(Ext.form.FieldSet, {
|
||||||
var hourConfig = config[i];
|
var hourConfig = config[i];
|
||||||
|
|
||||||
for (var j=0; j < this.daysOfWeek.length; j++) {
|
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];
|
var cell = this.scheduleCells[this.daysOfWeek[j]][i];
|
||||||
|
}
|
||||||
cell.currentValue = cell.oldValue = hourConfig[j];
|
cell.currentValue = cell.oldValue = hourConfig[j];
|
||||||
this.updateCell(cell);
|
this.updateCell(cell);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue