summaryrefslogtreecommitdiffstats
path: root/dhcp-edithost-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'dhcp-edithost-html.lsp')
-rw-r--r--dhcp-edithost-html.lsp2
1 files changed, 1 insertions, 1 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)