luci-base: form.js: forward section ID in CBISectionValue methods
authorJo-Philipp Wich <jo@mein.io>
Mon, 4 May 2020 19:34:12 +0000 (21:34 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 4 May 2020 19:34:12 +0000 (21:34 +0200)
commitf0a0d28fdd22b7904ea9a4efb53a7b791dc6dead
tree02231b5704e522c9eb9679f7fdc70ba6de09db6a
parent915e446c07ca5c7338dd7b8b5805232449c08c19
luci-base: form.js: forward section ID in CBISectionValue methods

This is useful for custom subclasses that want to perform conditional
rendering of contents, depending on the parent section ID.

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