summaryrefslogtreecommitdiff
path: root/luci2
diff options
context:
space:
mode:
Diffstat (limited to 'luci2')
-rw-r--r--luci2/htdocs/luci2/luci2.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/luci2/htdocs/luci2/luci2.js b/luci2/htdocs/luci2/luci2.js
index 2b4a5f1..2b13604 100644
--- a/luci2/htdocs/luci2/luci2.js
+++ b/luci2/htdocs/luci2/luci2.js
@@ -6066,11 +6066,11 @@ function LuCI2()
$('<li />')
.append($('<label />')
.addClass(itype + ' inline text-muted')
- .append($('<input />')
+ .append(this.validator(sid, $('<input />')
.attr('name', itype + id)
.attr('type', itype)
.attr('value', '')
- .prop('checked', $.isEmptyObject(check)))
+ .prop('checked', $.isEmptyObject(check)), true))
.append(L.tr('unspecified')))
.appendTo(ul);
}