summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dhcp-edithost-html.lsp2
-rw-r--r--dhcp-editsubnet-html.lsp2
2 files changed, 2 insertions, 2 deletions
diff --git a/dhcp-edithost-html.lsp b/dhcp-edithost-html.lsp
index e02e5b3..cc440c3 100644
--- a/dhcp-edithost-html.lsp
+++ b/dhcp-edithost-html.lsp
@@ -6,7 +6,7 @@ require("viewfunctions")
<%
form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action
if page_info.action == "edithost" then
- form.value.host.contenteditable = false
+ form.value.host.readonly = true
end
local order = {"host", "mac", "ip"}
displayform(form, order)
diff --git a/dhcp-editsubnet-html.lsp b/dhcp-editsubnet-html.lsp
index 25b3882..c458e19 100644
--- a/dhcp-editsubnet-html.lsp
+++ b/dhcp-editsubnet-html.lsp
@@ -6,7 +6,7 @@ require("viewfunctions")
<%
form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action
if page_info.action == "editsubnet" then
- form.value.subnet.contenteditable = false
+ form.value.subnet.readonly = true
end
local order = {"subnet", "netmask", "leaserangestart", "leaserangeend", "unknownclients", "domainname", "domainnameservers", "routers", "defleasetime", "maxleasetime"}
displayform(form, order)