summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-08-20 15:15:12 +0200
committerJo-Philipp Wich <jo@mein.io>2019-09-10 15:28:16 +0200
commitd905dacf97272903f8d9d962bcee25bc3409ba79 (patch)
tree2dd094ad0ec1ca6e4bd443353d76e8397cede866 /modules
parent745878d6cd5aa498916cea13d6887d500bc5c32b (diff)
luci-base: ui.js: update tabs after initial render
This ensures that the error badges are properly set. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules')
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/ui.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js
index 633707b2b6..3444549e04 100644
--- a/modules/luci-base/htdocs/luci-static/resources/ui.js
+++ b/modules/luci-base/htdocs/luci-static/resources/ui.js
@@ -1660,6 +1660,8 @@ return L.Class.extend({
this.setActiveTabId(panes[selected], selected);
}
+
+ this.updateTabs(group);
},
isEmptyPane: function(pane) {