mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
luci-app-nfs: fix page jump (#7368)
This commit is contained in:
parent
5e34f40296
commit
9111ddb8b1
@ -58,13 +58,13 @@ de.rmempty = false
|
||||
de.optional = false
|
||||
|
||||
if nixio.fs.access("/etc/config/fstab") then
|
||||
ph1.titleref = luci.dispatcher.build_url("admin", "system", "mounts")
|
||||
ph2.titleref = luci.dispatcher.build_url("admin", "system", "mounts")
|
||||
ph1.titleref = luci.dispatcher.build_url("admin", "system", "fstab")
|
||||
ph2.titleref = luci.dispatcher.build_url("admin", "system", "fstab")
|
||||
end
|
||||
|
||||
local apply = luci.http.formvalue("cbi.apply")
|
||||
if apply then
|
||||
io.popen("/etc/init.d/nfs reload")
|
||||
io.popen("/etc/init.d/nfs reload")
|
||||
end
|
||||
|
||||
return m
|
||||
|
Loading…
Reference in New Issue
Block a user