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>
Thu, 7 May 2020 17:40:48 +0000 (19:40 +0200)
commitc7c78291f1670fa3070f01869e6e8b4eafc1b038
tree3fdeae1dbd88dec82968df59e4b658f4f54ccdaf
parentce4d8c5a9ac40c7eafe57812f4e1f59aed58a5db
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>
(cherry picked from commit bf774e4c2a6a03aa01d4bcd9f5ce4f960cd91874)
modules/luci-base/htdocs/luci-static/resources/ui.js