summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network/htdocs/luci-static/resources/view
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-12-09 15:10:35 +0100
committerJo-Philipp Wich <jo@mein.io>2021-12-09 15:11:07 +0100
commitc534f0671d9a7d0f12d38ece20fcfb3bc19509b2 (patch)
treea621bfa1c30aae30bbfa57fc946c314db9c58f66 /modules/luci-mod-network/htdocs/luci-static/resources/view
parentf5fbecf132b6c18141896b093935fb4c035ab33d (diff)
luci-mod-network: wireless.js: retain maclist contents
Fixes: #5579 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-network/htdocs/luci-static/resources/view')
-rw-r--r--modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js
index 77f53e2b7d..f94640ee7d 100644
--- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js
+++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js
@@ -1090,6 +1090,7 @@ return view.extend({
o = ss.taboption('macfilter', form.DynamicList, 'maclist', _('MAC-List'));
o.datatype = 'macaddr';
+ o.retain = true;
o.depends('macfilter', 'allow');
o.depends('macfilter', 'deny');
o.load = function(section_id) {