luci-mod-system: Set description to blank if the trigger has none
authorFlorian Eckert <fe@dev.tdt.de>
Tue, 12 Apr 2022 08:05:34 +0000 (10:05 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Tue, 12 Apr 2022 08:05:36 +0000 (10:05 +0200)
commit3de544600385ca365c833aec99f89113daa12292
tree037c1fb29a87b8f0cd837434b70bd9fc84f66097
parent3ea1d08df8e0bad6cea7b57e4ab161f59bbce7e2
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