luci/modules/luci-mod-system/htdocs/luci-static/resources
Jo-Philipp Wich 5ccbda54e8 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: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-07 19:55:31 +02:00
..
view/system luci-mod-system: flash.js: fix passing sysupgrade opts 2019-10-07 19:55:31 +02:00