From 1b185b43be5d6fab2fc0bd46690aae84e5ab6d14 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 12 Jan 2009 20:34:27 +0000 Subject: Modified several pages to replace contenteditable with readonly. Added readonly to html.lsp and .css files. git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@1676 ab2d0c66-481e-0410-8bed-d214d4d58bed --- dhcp-edithost-html.lsp | 2 +- dhcp-editsubnet-html.lsp | 2 +- 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) -- cgit v1.2.3