summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2015-03-17 13:30:56 -0400
committerTed Trask <ttrask01@yahoo.com>2015-03-17 13:30:56 -0400
commite88ddeb66f88ba4d7fab03a6978f94131794501a (patch)
tree5e3c094b15aeb82ba464c9690713550be32e6bec
parenta2282961bdfc320ba2d0041a0a599c1505ba166b (diff)
downloadacf-core-e88ddeb66f88ba4d7fab03a6978f94131794501a.tar.bz2
acf-core-e88ddeb66f88ba4d7fab03a6978f94131794501a.tar.xz
Allow filedetails-html to include all hidden fields in form
-rw-r--r--app/filedetails-html.lsp6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/filedetails-html.lsp b/app/filedetails-html.lsp
index ae6d218..03cb37b 100644
--- a/app/filedetails-html.lsp
+++ b/app/filedetails-html.lsp
@@ -25,7 +25,11 @@ htmlviewfunctions.displaysectionstart(cfe({label="File Content"}), page_info, he
if form.type == "form" then
htmlviewfunctions.displayformstart(form, page_info)
form.value.filename.type = "hidden"
- htmlviewfunctions.displayformitem(form.value.filename, "filename")
+ for name,value in pairs(form.value) do
+ if value.type == "hidden" then
+ htmlviewfunctions.displayformitem(value, name)
+ end
+ end
end
%>
<textarea name="filecontent">