luci-base: form.js: fix anonymous section table titles
authorJo-Philipp Wich <jo@mein.io>
Mon, 7 Oct 2019 17:46:57 +0000 (19:46 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 7 Oct 2019 17:49:58 +0000 (19:49 +0200)
commite7ca163d7c227c573620d08b7c86a9e739c070ed
treea38d20a62bd2b712b82aa8817c2d1a20c0e1a3c8
parent5cfad8d65bad19ab3188d3de190f22ae8cc07fd8
luci-base: form.js: fix anonymous section table titles

When no section title is defined, the table renderer is supposed to use
the uci section id as fallback when the table section is not declared
to be anonymous.

Fixes: #3147
Fixes: a90bf384b ("luci-base: form.js: harmonize title property handling")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/form.js