summaryrefslogtreecommitdiffhomepage
path: root/libs/web/htdocs/luci-static/resources/cbi.js
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-01-22 11:52:27 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-01-22 11:52:27 +0000
commit7fd1bb58313bf63e383a422ba3336715b496e49f (patch)
tree93d2300c87e0897c75478a64e12d3fe3c6f3d804 /libs/web/htdocs/luci-static/resources/cbi.js
parent686de0fbec7d31cb6ae60531a87618b65a5dc0be (diff)
libs/web: support dependencies on mvalues
Diffstat (limited to 'libs/web/htdocs/luci-static/resources/cbi.js')
-rw-r--r--libs/web/htdocs/luci-static/resources/cbi.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/web/htdocs/luci-static/resources/cbi.js b/libs/web/htdocs/luci-static/resources/cbi.js
index a30533bda7..e89658dc96 100644
--- a/libs/web/htdocs/luci-static/resources/cbi.js
+++ b/libs/web/htdocs/luci-static/resources/cbi.js
@@ -335,7 +335,7 @@ function cbi_d_checkvalue(target, ref) {
if (!t) {
var tl = document.getElementsByName(target);
- if( tl.length > 0 && tl[0].type == 'radio' )
+ if( tl.length > 0 && (tl[0].type == 'radio' || tl[0].type == 'checkbox'))
for( var i = 0; i < tl.length; i++ )
if( tl[i].checked ) {
value = tl[i].value;