summaryrefslogtreecommitdiffstats
path: root/dhcp-editsubnet-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2009-01-12 20:34:27 +0000
committerTed Trask <ttrask01@yahoo.com>2009-01-12 20:34:27 +0000
commit1b185b43be5d6fab2fc0bd46690aae84e5ab6d14 (patch)
treee010cb1158fb0124f597481f58206de40e77e6b7 /dhcp-editsubnet-html.lsp
parenta51c674d375e56763a28a69388df6cd4a5e27e28 (diff)
downloadacf-dhcp-1b185b43be5d6fab2fc0bd46690aae84e5ab6d14.tar.bz2
acf-dhcp-1b185b43be5d6fab2fc0bd46690aae84e5ab6d14.tar.xz
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
Diffstat (limited to 'dhcp-editsubnet-html.lsp')
-rw-r--r--dhcp-editsubnet-html.lsp2
1 files changed, 1 insertions, 1 deletions
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)