luci-base: ui.js: implement AbstractElement.isChanged()
authorJo-Philipp Wich <jo@mein.io>
Thu, 6 Aug 2020 14:16:31 +0000 (16:16 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 6 Aug 2020 15:56:34 +0000 (17:56 +0200)
commit18eddc962418a045524a740061625834a77153d8
tree70264db4f37f252a5d3943e9d12d4ec59aee2d42
parentc44528d40d44c1a0887c4f6bf796560773a8017f
luci-base: ui.js: implement AbstractElement.isChanged()

The new `isChanged()` utility functions allows to query the dirty state
of an ui input widget.

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