summaryrefslogtreecommitdiffstats
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
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
-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)