X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci2%2Fui.git;a=blobdiff_plain;f=luci2%2Fhtdocs%2Fluci2%2Fview%2Fnetwork.hosts.js;h=587b181ec4eb46b35d53fd9ed530801e5836f7ea;hp=2dab0d9908a27370ced1516852ba5f3de89deb4f;hb=161827ba6ddf1621eefa8a1c87e763f4c643ca8b;hpb=6c11828ca6216bd177e974ba6843ec5332afddf4 diff --git a/luci2/htdocs/luci2/view/network.hosts.js b/luci2/htdocs/luci2/view/network.hosts.js index 2dab0d9..587b181 100644 --- 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')