luci-base: ui.js: mark user-changed widgets
authorJo-Philipp Wich <jo@mein.io>
Thu, 19 Sep 2019 13:39:46 +0000 (15:39 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 19 Sep 2019 13:39:46 +0000 (15:39 +0200)
commit4dfa657f77183c4add96cfd349721be1ca425a49
tree083a2709dd3f98089f0a76d176ff68c21d8896cc
parent53ac685092d62c84cc2add8ae726487b339d9576
luci-base: ui.js: mark user-changed widgets

Set a `data-changed=true` attribute on the widget element when the user
did any change to the default value.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/ui.js