luci/modules/luci-mod-system/htdocs
Jo-Philipp Wich 45b56e85a6 luci-mod-system: leds.js: fix handling device option
Since the modal overlay map was unable to read the current trigger value,
it mistakingly allowed the removal of the device option value.

Fix it by finding the option object through lookupOption() instead of
relying on a reference.

Fixes: #3216
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-18 18:55:10 +02:00
..
luci-static/resources/view/system luci-mod-system: leds.js: fix handling device option 2019-10-18 18:55:10 +02:00