libs/cbi: fix dynamic tab hiding
[project/luci.git] / libs / cbi / htdocs / luci-static / resources / cbi.js
index f708d0f..004e12e 100644 (file)
@@ -36,9 +36,6 @@ function cbi_d_add(field, dep, next) {
                                "deps": []
                        };
                        cbi_d.unshift(entry);
-
-                       if( entry.parent )
-                               cbi_c[entry.parent] = (cbi_c[entry.parent] || 0) + 1;
                }
                entry.deps.push(dep)
        }