luci-mod-system: fix zram compression placeholder
authorJo-Philipp Wich <jo@mein.io>
Wed, 29 Jan 2020 08:00:57 +0000 (09:00 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 29 Jan 2020 08:00:57 +0000 (09:00 +0100)
Fixes: #3583
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js

index 8ac119b62465d7d58b996128dacfb187adc4e1c1..c2f31e7b4cdd2399a22bf53d52936e2d4653c4b8 100644 (file)
@@ -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');