summaryrefslogtreecommitdiffhomepage
path: root/libs/web/htdocs/luci-static/resources/cbi.js
diff options
context:
space:
mode:
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 a30533bda..e89658dc9 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;