Browse Source

switch schedules work again

rfm69
wysiwyng 6 years ago
parent
commit
2348bc684e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/html/custom.js

+ 1
- 1
code/html/custom.js View File

@ -662,7 +662,7 @@ function addSchedule(event) {
var template = $("#scheduleTemplate").children();
var line = $(template).clone();
var type = (1 === event.data.schType) ? "switch" : "light";
var type = ("1" === event.data.schType) ? "switch" : "light";
template = $("#" + type + "ActionTemplate").children();
var actionLine = template.clone();


Loading…
Cancel
Save