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
(from parent 1:
6c11828
)
luci2: remove stuff left over from copy & pasting system.leds.js
author
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 12 Oct 2013 21:02:07 +0000
(21:02 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 12 Oct 2013 21:02:07 +0000
(21:02 +0000)
luci2/htdocs/luci2/view/network.hosts.js
patch
|
blob
|
history
diff --git
a/luci2/htdocs/luci2/view/network.hosts.js
b/luci2/htdocs/luci2/view/network.hosts.js
index
2dab0d9
..
587b181
100644
(file)
--- a/
luci2/htdocs/luci2/view/network.hosts.js
+++ b/
luci2/htdocs/luci2/view/network.hosts.js
@@
-8,9
+8,7
@@
L.ui.view.extend({
});
var s = m.section(L.cbi.TableSection, 'domain', {
- caption: function(sid) { return sid ? (this.fields.name.textvalue(sid) || L.tr('Unnamed LED')) : '' },
- teasers: [ 'sysfs', 'default', 'trigger', '_net_dev', 'mode', '_usb_dev', 'delayon', 'delayoff' ],
- collabsible: true,
+ anonymous: true,
addremove: true,
add_caption: L.tr('Add new hostname'),
remove_caption: L.tr('Remove hostname')