luci-base: ui.js: dispatch "cbi-tab-active" event when a tab is selected
authorJo-Philipp Wich <jo@mein.io>
Wed, 12 Feb 2020 07:14:22 +0000 (08:14 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 12 Feb 2020 10:59:41 +0000 (11:59 +0100)
commitbf774e4c2a6a03aa01d4bcd9f5ce4f960cd91874
treecfaded772cb0c1ef6387cf0d2cebe86304329dff
parente7d22dce50b4a0c50c9f8ae8c18eeb5a37a51b3e
luci-base: ui.js: dispatch "cbi-tab-active" event when a tab is selected

This is useful to lazy-load tab contents.

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