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
commit9dfc491513676fa005f68cc764c4db37f0b3094f (patch)
tree524a66aa726b5943321f158cf4794688cf4f55c5
parent72b120f3d052a8b2561be84ea915270a0ddb9a06 (diff)
downloadacf-alpine-baselayout-9dfc491513676fa005f68cc764c4db37f0b3094f.tar.bz2
acf-alpine-baselayout-9dfc491513676fa005f68cc764c4db37f0b3094f.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/alpine-baselayout/trunk@1676 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r--interfaces-update-html.lsp2
-rw-r--r--rc-edit-html.lsp2
2 files changed, 2 insertions, 2 deletions
diff --git a/interfaces-update-html.lsp b/interfaces-update-html.lsp
index ced2d86..d205c03 100644
--- a/interfaces-update-html.lsp
+++ b/interfaces-update-html.lsp
@@ -154,7 +154,7 @@ io.write("</span>")
<h1><%= form.label %><% if page_info.action == "update" then io.write(" - "..form.value.name.value) end %></h1>
<%
if page_info.action == "update" then
- form.value.name.contenteditable = false
+ form.value.name.readonly = true
end
local order = {"name", "comment", "auto", "family", "method", "pre-up", "up", "down", "post-down"}
displayform(form, order)
diff --git a/rc-edit-html.lsp b/rc-edit-html.lsp
index 0c1896d..ad24179 100644
--- a/rc-edit-html.lsp
+++ b/rc-edit-html.lsp
@@ -5,7 +5,7 @@ require("viewfunctions")
<H1><%= form.label %></H1>
<%
form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action
- form.value.servicename.contenteditable = false
+ form.value.servicename.readonly = true
local order = {"servicename", "sequence", "kill", "system"}
displayform(form, order)
%>