projects
/
project
/
luci2
/
ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba97ef2
)
support custom event handlers for L.cbi.DeviceList widget
author
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 13 Apr 2014 20:53:28 +0000
(22:53 +0200)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 13 Apr 2014 20:53:28 +0000
(22:53 +0200)
luci2/htdocs/luci2/luci2.js
patch
|
blob
|
history
diff --git
a/luci2/htdocs/luci2/luci2.js
b/luci2/htdocs/luci2/luci2.js
index 2b4a5f18b45d6f89a4055ede3b1eaa8e895e82a7..2b13604497f90f21e51ee9a560bf6bd8c17f3abf 100644
(file)
--- 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);
}