mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Prepend server_dir to form actions that use absolute paths.
This commit is contained in:
1 parent
77948f0e96
commit
60ea9f43cd
7 files changed
+9
-9
No files matched your search
@@ -138,7 +138,7 @@ class wan(FormPlugin, PagePlugin):
|
||||
exec("if not '%(k)s' in kwargs: store['%(k)s'] = kwargs['%(k)s'] = %(c)s" % {'k':k, 'c':c})
|
||||
|
||||
form = Form(title="WAN Connection",
|
||||
action="/router/setup/wan/index",
|
||||
action=cfg.server_dir + "/router/setup/wan/index",
|
||||
name="wan_connection_form",
|
||||
message=message)
|
||||
form.dropdown('Connection Type', vals=["DHCP", "Static IP"], id="connect_type", onchange="hideshow_static()")
|
||||
|
||||
Reference in new issue
Block a user