summaryrefslogtreecommitdiffstats
path: root/fetchmail-editentry-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmail-editentry-html.lsp')
-rw-r--r--fetchmail-editentry-html.lsp4
1 files changed, 4 insertions, 0 deletions
diff --git a/fetchmail-editentry-html.lsp b/fetchmail-editentry-html.lsp
index 8917bc1..4253918 100644
--- a/fetchmail-editentry-html.lsp
+++ b/fetchmail-editentry-html.lsp
@@ -7,6 +7,10 @@ require("viewfunctions")
form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action
if page_info.action == "editentry" then
form.value.remotehost.contenteditable = false
+ form.value.method.type = "text"
+ form.value.method.contenteditable = false
+ form.value.remotemailbox.contenteditable = false
+ form.value.localdomain.contenteditable = false
end
local order = { "remotehost", "enabled", "method", "remotemailbox", "remotepassword", "ssl", "localhost", "localmailbox", "localdomain" }
displayform(form, order)