diff options
-rw-r--r-- | tinydns-html.lsp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tinydns-html.lsp b/tinydns-html.lsp index be0d7e9..abe7bf1 100644 --- a/tinydns-html.lsp +++ b/tinydns-html.lsp @@ -5,8 +5,8 @@ require("viewfunctions") <H1><%= form.label %></H1> <% form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action - if form.value.userid then form.value.userid.contenteditable = false end - if form.value.role then form.value.role.contenteditable = false end + if form.value.userid then form.value.userid.readonly = true end + if form.value.role then form.value.role.readonly = true end local order = { "userid", "role" } displayform(form, order) %> |