luci-mod-system: Set description to blank if the trigger has none
authorFlorian Eckert <fe@dev.tdt.de>
Tue, 12 Apr 2022 12:11:36 +0000 (14:11 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Tue, 12 Apr 2022 12:14:27 +0000 (14:14 +0200)
commitb6fb2b16971f80afcfb7c3dd1d257c60f6cced7f
tree15252db1eb4a5e132c8c234c91481d57945d2359
parent2135525b7213220476388fbed0d7525df712a937
luci-mod-system: Set description to blank if the trigger has none

In this case the cbi description div will not be generated and when
switching to another trigger later, attempts to change the description
div contents will fail.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
modules/luci-mod-system/htdocs/luci-static/resources/view/system/leds.js