From 074c1a93498e6de072aa0194b5c7abc446461a5e Mon Sep 17 00:00:00 2001 From: Andrey Petelin Date: Thu, 11 Sep 2025 15:32:39 +0500 Subject: [PATCH] chore: Remove TODO comments from user domains and subnets text input fields --- .../htdocs/luci-static/resources/view/podkop/configSection.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/configSection.js b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/configSection.js index 370e745..6d5894d 100644 --- a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/configSection.js +++ b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/configSection.js @@ -323,7 +323,6 @@ function createConfigSection(section, map, network) { return true; }; - // TODO: Is it possible to save not as an option (but as a split list)? o = s.taboption('basic', form.TextValue, 'user_domains_text', _('User Domains List'), _('Enter domain names separated by comma, space or newline. You can add comments after //')); o.placeholder = 'example.com, sub.example.com\n// Social networks\ndomain.com test.com // personal domains'; o.depends('user_domain_list_type', 'text'); @@ -451,7 +450,6 @@ function createConfigSection(section, map, network) { return true; }; - // TODO: Is it possible to save not as an option (but as a split list)? o = s.taboption('basic', form.TextValue, 'user_subnets_text', _('User Subnets List'), _('Enter subnets in CIDR notation or single IP addresses, separated by comma, space or newline. You can add comments after //')); o.placeholder = '103.21.244.0/22\n// Google DNS\n8.8.8.8\n1.1.1.1/32, 9.9.9.9 // Cloudflare and Quad9'; o.depends('user_subnet_list_type', 'text');