luci-app-statistics: clean and fix plugin configurations
[project/luci.git] / applications / luci-app-statistics / htdocs / luci-static / resources / view / statistics / plugins / interface.js
index 178b510a2be09f2f205ccb82b661afebce9a276d..1d60d644fd64612087fb0c580f416ee9e8a0a47e 100644 (file)
@@ -10,7 +10,6 @@ return L.Class.extend({
                var o;
 
                o = s.option(form.Flag, 'enable', _('Enable this plugin'));
-               o.default = '0';
 
                o = s.option(widgets.DeviceSelect, 'Interfaces', _('Monitor interfaces'));
                o.multiple = true;
@@ -18,7 +17,6 @@ return L.Class.extend({
                o.depends('enable', '1');
 
                o = s.option(form.Flag, 'IgnoreSelected', _('Monitor all except specified'));
-               o.default = '0';
                o.depends('enable', '1');
        },