From b8f65c340c42acda920298af4318784a79a0965c Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 29 Jan 2020 09:00:57 +0100 Subject: [PATCH] luci-mod-system: fix zram compression placeholder Fixes: #3583 Signed-off-by: Jo-Philipp Wich --- .../htdocs/luci-static/resources/view/system/system.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js index 8ac119b62..c2f31e7b4 100644 --- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js +++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js @@ -187,7 +187,7 @@ return L.view.extend({ o = s.taboption('zram', form.ListValue, 'zram_comp_algo', _('ZRam Compression Algorithm')); o.optional = true; - o.placeholder = 'lzo'; + o.default = 'lzo'; o.value('lzo', 'lzo'); o.value('lz4', 'lz4'); o.value('deflate', 'deflate'); -- 2.25.1