luci-mod-system: add missing require to `none` led trigger class
authorJo-Philipp Wich <jo@mein.io>
Sun, 31 Oct 2021 21:26:42 +0000 (22:26 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sun, 31 Oct 2021 21:27:46 +0000 (22:27 +0100)
commitfceabd74465f2aafc40edc084429f30837deff2c
tree2f6202125fe66482366a190a133d215863ac81c6
parent30e32071c3dd29f691dc5770c8e2253d9fdd968e
luci-mod-system: add missing require to `none` led trigger class

Also convert ES6 to ES5 syntax while we're at it.

Fixes: #5476
Fixes: 5b42cd5b46 ("luci-mod-system: move default option from defaul-on trigger to none trigger")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/default-on.js
modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/heartbeat.js
modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/netdev.js
modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/none.js
modules/luci-mod-system/htdocs/luci-static/resources/view/system/led-trigger/timer.js