From 7fd1bb58313bf63e383a422ba3336715b496e49f Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 22 Jan 2013 11:52:27 +0000 Subject: libs/web: support dependencies on mvalues --- libs/web/htdocs/luci-static/resources/cbi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/web/htdocs/luci-static/resources') 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; -- cgit v1.2.3