Re-enable syslog by default and fix compilation issue

pull/163/head
Thorsten von Eicken 9 years ago
parent 1e87efec8c
commit 23877f5ea7
  1. 2
      Makefile
  2. 2
      html/services.js

@ -101,7 +101,7 @@ LED_SERIAL_PIN ?= 14
# --------------- esp-link modules config options --------------- # --------------- esp-link modules config options ---------------
# Optional Modules mqtt # Optional Modules mqtt
MODULES ?= mqtt rest #syslog MODULES ?= mqtt rest syslog
# --------------- esphttpd config options --------------- # --------------- esphttpd config options ---------------

@ -54,7 +54,7 @@ function displayServices(data) {
if (data.syslog_host !== undefined) { if (data.syslog_host !== undefined) {
$("#Syslog-form").removeAttribute("hidden"); $("#Syslog-form").removeAttribute("hidden");
} else { } else {
# syslog disabled... // syslog disabled...
$("#Syslog-form").parentNode.setAttribute("hidden", ""); $("#Syslog-form").parentNode.setAttribute("hidden", "");
} }
$("#SNTP-form").removeAttribute("hidden"); $("#SNTP-form").removeAttribute("hidden");

Loading…
Cancel
Save