luci-mod-status: iptables: always make tab pane visible
authorJo-Philipp Wich <jo@mein.io>
Fri, 7 May 2021 17:04:38 +0000 (19:04 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 7 May 2021 17:19:35 +0000 (19:19 +0200)
commite9b6431b1442be792f118a1d1d91567d0980b359
tree58fdd784a78cc35ae8b6f9ae6056f25c28a031b6
parent56c323505b3a705eab638c68db6f0780f2724790
luci-mod-status: iptables: always make tab pane visible

When ip6tables is not present, the tab group was not initialized,
causing the iptables status display to be empty with certain themes.

Manually mark the pane active in this case to avoid the problem.

Fixes: #5040
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit d24e3295f004c87722ad59927738f208a2a84ac5)
modules/luci-mod-status/htdocs/luci-static/resources/view/status/iptables.js