diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-04-13 22:53:28 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-04-13 22:53:28 +0200 |
commit | 7887ec7cd3897733129a4aa649d4c544418faeea (patch) | |
tree | b01b3149f8478fd6f342a7a4cb0894d1908b1930 /luci2 | |
parent | ba97ef2849243942831468bb4f2196fc9f925c11 (diff) | |
download | luci2-ui-7887ec7cd3897733129a4aa649d4c544418faeea.tar.gz |
support custom event handlers for L.cbi.DeviceList widget
Diffstat (limited to 'luci2')
-rw-r--r-- | luci2/htdocs/luci2/luci2.js | 4 |
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); } |