luci-base: ui.js: update tabs after initial render
authorJo-Philipp Wich <jo@mein.io>
Tue, 20 Aug 2019 13:15:12 +0000 (15:15 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 10 Sep 2019 13:28:16 +0000 (15:28 +0200)
This ensures that the error badges are properly set.

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

index 633707b2b6e693543809db1b79251a13ab8e32d2..3444549e04ca5e72284e24de84c630c0d6c1aa00 100644 (file)
@@ -1660,6 +1660,8 @@ return L.Class.extend({
 
                                this.setActiveTabId(panes[selected], selected);
                        }
+
+                       this.updateTabs(group);
                },
 
                isEmptyPane: function(pane) {