summaryrefslogtreecommitdiffstats
path: root/iptables-editchain-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'iptables-editchain-html.lsp')
-rw-r--r--iptables-editchain-html.lsp4
1 files changed, 2 insertions, 2 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)