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
commit3ae16012d9762c6c553e6f0e5c4083b528d0a810 (patch)
tree9a046a5bb6e79d986a5e6b007c3a8452ce303055
parent1aab0b1543066f6c60c80607f4952f3d17ef39bb (diff)
downloadacf-opennhrp-3ae16012d9762c6c553e6f0e5c4083b528d0a810.tar.bz2
acf-opennhrp-3ae16012d9762c6c553e6f0e5c4083b528d0a810.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/opennhrp/trunk@1676 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r--opennhrp-editinterface-html.lsp6
1 files changed, 3 insertions, 3 deletions
diff --git a/opennhrp-editinterface-html.lsp b/opennhrp-editinterface-html.lsp
index 67898e7..6fa2bec 100644
--- a/opennhrp-editinterface-html.lsp
+++ b/opennhrp-editinterface-html.lsp
@@ -6,9 +6,9 @@ require("viewfunctions")
<script type="text/javascript">
function enabledisable(){
if ($("[name='type']").val() == "NHRP Enabled") {
- $("[name='map']").attr("disabled", "");
+ $("[name='map']").show();
} else {
- $("[name='map']").attr("disabled", "disabled");
+ $("[name='map']").hide();
}
}
$(function(){
@@ -19,7 +19,7 @@ require("viewfunctions")
<H1><%= form.label %></H1>
<%
- form.value.interface.contenteditable = false
+ form.value.interface.readonly = true
local option = {"interface", "type", "map"}
displayform(form, option, nil, page_info)
%>