From 42e1f743b394c95637b99feac7a93161c5215381 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 10 Oct 2009 22:18:50 +0000 Subject: libs/cbi: fix dynamic tab hiding --- libs/cbi/htdocs/luci-static/resources/cbi.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'libs/cbi/htdocs/luci-static') diff --git a/libs/cbi/htdocs/luci-static/resources/cbi.js b/libs/cbi/htdocs/luci-static/resources/cbi.js index f708d0f7f..004e12eaa 100644 --- a/libs/cbi/htdocs/luci-static/resources/cbi.js +++ b/libs/cbi/htdocs/luci-static/resources/cbi.js @@ -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) } -- cgit v1.2.3