diff options
author | Ted Trask <ttrask01@yahoo.com> | 2009-01-12 20:34:27 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2009-01-12 20:34:27 +0000 |
commit | dac8706eaa8243e8fb6bcfd00fbdbf779f9f0ebc (patch) | |
tree | a0090e847a12538de73d35918a3dfbe95c2c44ad | |
parent | 9a60931d93fc29a76453c6f7b023e8f93fda452a (diff) | |
download | acf-iptables-dac8706eaa8243e8fb6bcfd00fbdbf779f9f0ebc.tar.bz2 acf-iptables-dac8706eaa8243e8fb6bcfd00fbdbf779f9f0ebc.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/iptables/trunk@1676 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r-- | iptables-editchain-html.lsp | 4 | ||||
-rw-r--r-- | iptables-editrule-html.lsp | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/iptables-editchain-html.lsp b/iptables-editchain-html.lsp index eaa1bfb..3480fcc 100644 --- a/iptables-editchain-html.lsp +++ b/iptables-editchain-html.lsp @@ -6,9 +6,9 @@ require("viewfunctions") <% form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action if page_info.action == "editchain" then - form.value.table.contenteditable = false + form.value.table.readonly = true form.value.table.type = "text" - form.value.chain.contenteditable = false + form.value.chain.readonly = true end local order = {"table", "chain", "policy"} displayform(form, order) diff --git a/iptables-editrule-html.lsp b/iptables-editrule-html.lsp index 4f7ba0b..9c732ec 100644 --- a/iptables-editrule-html.lsp +++ b/iptables-editrule-html.lsp @@ -5,10 +5,10 @@ require("viewfunctions") <H1><%= form.label %></H1> <% for name,val in pairs(form.value) do val.name = name end -form.value.table.contenteditable = false +form.value.table.readonly = true form.value.table.type = "text" -form.value.chain.contenteditable = false -form.value.position.contenteditable = false +form.value.chain.readonly = true +form.value.position.readonly = true form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action displayformstart(form) %> |