summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2014-08-22 19:34:32 +0000
committerTed Trask <ttrask01@yahoo.com>2014-08-22 19:34:32 +0000
commit3b2047cad97ae893834017c4bd040afa26ba2320 (patch)
treecd6b4158373cfe52c090d71dba234da48423ad06
parent03b1a3481a10aeec6031bde40c2f642e19be8560 (diff)
downloadacf-awall-3b2047cad97ae893834017c4bd040afa26ba2320.tar.bz2
acf-awall-3b2047cad97ae893834017c4bd040afa26ba2320.tar.xz
Fix js confirm for deletepolicy
-rw-r--r--awall-listpolicies-html.lsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/awall-listpolicies-html.lsp b/awall-listpolicies-html.lsp
index 022a1f3..9ff065a 100644
--- a/awall-listpolicies-html.lsp
+++ b/awall-listpolicies-html.lsp
@@ -45,7 +45,7 @@ html = require("acf.html")
filename.value = pol.filename
name.value = pol.name
if viewlibrary.check_permission("deletepolicy") and pol.editable and pol.status ~= "enabled" and pol.status ~= "required" then
- htmlviewfunctions.displayitem(cfe({type="form", value={filename=filename}, label="", option="Delete", action="deletepolicy"}), page_info, -1)
+ htmlviewfunctions.displayitem(cfe({type="form", value={filename=filename}, label="", option="Delete", action="deletepolicy", class="deletepolicy"}), page_info, -1)
end
if viewlibrary.check_permission("editpolicy") and pol.editable then
htmlviewfunctions.displayitem(cfe({type="link", value={filename=filename, redir=redir}, label="", option="Edit", action="editpolicy"}), page_info, -1)