summaryrefslogtreecommitdiffhomepage
path: root/libs/cbi/htdocs
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-11-23 13:09:52 +0000
committerSteven Barth <steven@midlink.org>2009-11-23 13:09:52 +0000
commit565cc95f0db46e4d1e0bb947115af2d762c3b859 (patch)
tree930775385d855013b8928b60013ae77605b60fbb /libs/cbi/htdocs
parent8163cc8e67495af36e38945394234f3beb653d29 (diff)
CBI: Free dependencies
Diffstat (limited to 'libs/cbi/htdocs')
-rw-r--r--libs/cbi/htdocs/luci-static/resources/cbi.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/cbi/htdocs/luci-static/resources/cbi.js b/libs/cbi/htdocs/luci-static/resources/cbi.js
index 7ba81189e..08ee59335 100644
--- a/libs/cbi/htdocs/luci-static/resources/cbi.js
+++ b/libs/cbi/htdocs/luci-static/resources/cbi.js
@@ -65,9 +65,9 @@ function cbi_d_check(deps) {
var istat = true;
reverse = false;
for (var j in deps[i]) {
- if (j.slice(-8) == "!reverse") {
+ if (j == "!reverse") {
reverse = true;
- } else if (j.slice(-8) == "!default") {
+ } else if (j == "!default") {
def = true;
istat = false;
} else {