summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-09-29 14:09:43 +0200
committerJo-Philipp Wich <jo@mein.io>2018-09-29 14:09:43 +0200
commitd79d9874d7a1cf29531ee927b2668263557b21f3 (patch)
tree112df3522b5386ec34cb3698d3599ab3f85f5160 /modules
parente5071c88f07f933521e39125cebba7244e94d760 (diff)
luci-mod-system: correct table cell rendering without umount button
Fixes #2173. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules')
-rw-r--r--modules/luci-mod-system/luasrc/model/cbi/admin_system/fstab.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/luci-mod-system/luasrc/model/cbi/admin_system/fstab.lua b/modules/luci-mod-system/luasrc/model/cbi/admin_system/fstab.lua
index 3ce5351bf..02fe9cc05 100644
--- a/modules/luci-mod-system/luasrc/model/cbi/admin_system/fstab.lua
+++ b/modules/luci-mod-system/luasrc/model/cbi/admin_system/fstab.lua
@@ -122,6 +122,8 @@ unmount.render = function(self, section, scope)
self.title = translate("Unmount")
self.inputstyle = "remove"
Button.render(self, section, scope)
+ else
+ luci.http.write("&#160;")
end
end