luci-base: ui.js: rework tab state handling
authorJo-Philipp Wich <jo@mein.io>
Sun, 11 Aug 2019 18:59:45 +0000 (20:59 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 14 Aug 2019 20:58:15 +0000 (22:58 +0200)
commitc2eba00a10da484ff034a12cb2985edd091448f7
treee8d38604a1752b8b9c69610b23ee3c6136cb24e6
parentfb18c278a4eb5143b377e1ff148d3ed2e1f84c19
luci-base: ui.js: rework tab state handling

Properly preserve the selection state of nested tabs.

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