luci-base: form.js: update tab state on dependency checks
authorJo-Philipp Wich <jo@mein.io>
Wed, 31 Jul 2019 05:59:49 +0000 (07:59 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 1 Aug 2019 14:47:33 +0000 (16:47 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/form.js

index ef2f18e35a56d72c4a3f3962be91fe9229cc09ba..82b7695e45dd3aae8790965fb4b6c4bfc5af854e 100644 (file)
@@ -196,6 +196,8 @@ var CBIMap = CBINode.extend({
 
                if (changed && (n || 0) < 10)
                        this.checkDepends(ev, (n || 10) + 1);
+
+               ui.tabs.updateTabs(ev, this.root);
        }
 });