diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-10-18 18:53:21 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-10-18 18:55:10 +0200 |
commit | 45b56e85a62c23b12f43dc8bcf60bb3930cbbe9f (patch) | |
tree | b7bbaae3aa063cb47543211c83335805b8f5cf09 /protocols/luci-proto-3g | |
parent | 254503dc8a4ae7c7791ad96da835d72555796e4d (diff) |
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>
Diffstat (limited to 'protocols/luci-proto-3g')
0 files changed, 0 insertions, 0 deletions