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:16:34 +0000 (19:16 +0200)
commitd24e3295f004c87722ad59927738f208a2a84ac5
tree67f84554ae71ed39157c0bb7f049a57cd2db7d5f
parentb1a59c50ad50124a7dd779ea76d6f28a5171f75c
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>
modules/luci-mod-status/htdocs/luci-static/resources/view/status/iptables.js