luci-base: form.js: fix rendering of button widgets
authorJo-Philipp Wich <jo@mein.io>
Thu, 8 Aug 2019 06:34:27 +0000 (08:34 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 14 Aug 2019 20:58:15 +0000 (22:58 +0200)
commit46861a527e0ba67a99b21eb8af4e5790922f5da1
tree986f12312a703196068839b61acff4ff2377b1f8
parent3789148fc99f2c68525767689d65e6ad67292e0f
luci-base: form.js: fix rendering of button widgets

Also introduce an `onclick` property to allow registering custom button
action handler.

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