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>
Thu, 7 May 2020 17:40:49 +0000 (19:40 +0200)
commitf044d2a4a8901a85b1b5330361705b86873ce6d6
tree82c502eee1a61661dc1e6b411fdfb599c983d129
parent750572d6303cd2c6a5cc031f108650e9e3347488
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>
(cherry picked from commit f0a0d28fdd22b7904ea9a4efb53a7b791dc6dead)
modules/luci-base/htdocs/luci-static/resources/form.js