summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-travelmate/luasrc/controller
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2018-07-31 09:36:27 +0200
committerDirk Brenken <dev@brenken.org>2018-07-31 09:36:27 +0200
commitaf25cf4879163b38e9fd71bd3a55e77c31d3d903 (patch)
treeb195a439a4ee82c1efbe552dd5af6b48d50e6d21 /applications/luci-app-travelmate/luasrc/controller
parent16d58c25038f42759b515b2cb575b8baf2b4ed8a (diff)
luci-app-travelmate: "final" fixes
during intense testing with different browsers (Chrome/Firefox/partly IE in a VM) I found & fixed some more minor things: * re-add accidently removed "apply_on_parse" attribute in overview cbi * fixed a corner case where the "Restart" button not works correctly * Removed leftovers from last commit Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'applications/luci-app-travelmate/luasrc/controller')
-rw-r--r--applications/luci-app-travelmate/luasrc/controller/travelmate.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-travelmate/luasrc/controller/travelmate.lua b/applications/luci-app-travelmate/luasrc/controller/travelmate.lua
index 00969ffe7d..775831d9d0 100644
--- a/applications/luci-app-travelmate/luasrc/controller/travelmate.lua
+++ b/applications/luci-app-travelmate/luasrc/controller/travelmate.lua
@@ -39,7 +39,7 @@ function trm_action(name)
if name == "do_restart" then
luci.sys.call("/etc/init.d/travelmate restart >/dev/null 2>&1")
end
- luci.http.prepare_content("text/plain")
+ luci.http.prepare_content("text/plain")
luci.http.write("0")
end