luci-app-statistics: clean and fix plugin configurations
[project/luci.git] / applications / luci-app-statistics / htdocs / luci-static / resources / view / statistics / plugins / olsrd.js
index 72cce1265616796efc06ac628702680deebc29bb..973c0858f3f7309140ae791ac90a1f452cebbb58 100644 (file)
@@ -9,16 +9,13 @@ return L.Class.extend({
                var o;
 
                o = s.option(form.Flag, 'enable', _('Enable this plugin'));
-               o.default = '0';
 
                o = s.option(form.Value, 'Host', _('Host'),
                        _('IP or hostname where to get the txtinfo output from'));
                o.datatype = 'host';
-               o.rmempty = true;
 
                o = s.option(form.Value, 'Port', _('Port'));
                o.datatype = 'port';
-               o.rmempty = true;
 
                o = s.option(form.ListValue, 'CollectLinks', _('CollectLinks'),
                        _('Specifies what information to collect about links.'));