Skip to content
Commit 5ccbda54 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

luci-mod-system: flash.js: fix passing sysupgrade opts



Instead of binding the checked state to the button handler function,
bind the underlying checkboxes instead to observe the actual user
choice instead of the initial value.

This fixes forcing sysupgrade or deselecting keep settings.

Reported-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent e7ca163d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment