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:
7b9f16e
)
luci2: fix rendering of LuCI2.cbi.MultiValue
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 4 Nov 2013 16:41:20 +0000
(16:41 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 4 Nov 2013 16:41:20 +0000
(16:41 +0000)
luci2/htdocs/luci2/luci2.js
patch
|
blob
|
history
diff --git
a/luci2/htdocs/luci2/luci2.js
b/luci2/htdocs/luci2/luci2.js
index 98cd4411df400b785b093a5e8966ec9eae6cb467..6481c0bd90416c989d2f6e092e8c482527bc53da 100644
(file)
--- a/
luci2/htdocs/luci2/luci2.js
+++ b/
luci2/htdocs/luci2/luci2.js
@@
-3902,16
+3902,13
@@
function LuCI2()
for (var i = 0; i < this.choices.length; i++)
{
$('<label />')
+ .addClass('checkbox')
.append($('<input />')
- .addClass('cbi-input-checkbox')
.attr('type', 'checkbox')
.attr('value', this.choices[i][0])
.prop('checked', s[this.choices[i][0]]))
.append(this.choices[i][1])
.appendTo(t);
-
- $('<br />')
- .appendTo(t);
}
return t;