luci-app-mwan3: only show timeout if sticky is set

Redmine-patch-id: 6621
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert 2021-11-30 11:25:01 +01:00
parent 919436e47e
commit 2af8158fa8

View file

@ -78,6 +78,7 @@ return view.extend({
_('Seconds. Acceptable values: 1-1000000. Defaults to 600 if not set'));
o.datatype = 'range(1, 1000000)';
o.modalonly = true;
o.depends('sticky', '1');
o = s.option(form.Value, 'ipset', _('IPset'),
_('Name of IPset rule. Requires IPset rule in /etc/dnsmasq.conf (eg \"ipset=/youtube.com/youtube\")'));