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:13:38 +0000 (10:13 +0200)
commitba7d0c7ddda511e75d67716263262e1f303062d5
tree4c0ab103690960d607bfd1e9849af136b2dd9fdc
parent0e4eeeb9a23306abff7b84f8e236e486b05f9c3f
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>
(cherry picked from commit 3de544600385ca365c833aec99f89113daa12292)
modules/luci-mod-system/htdocs/luci-static/resources/view/system/leds.js