summaryrefslogtreecommitdiffstats
path: root/heimdal-klist-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-07-30 13:14:26 +0000
committerTed Trask <ttrask01@yahoo.com>2012-07-30 13:14:26 +0000
commit997aaa44ef4d26aeca2bee1e71109529f4ce1ba2 (patch)
treeabe92fa565e16e1c9aa22832dc0610655dba66ab /heimdal-klist-html.lsp
parentaf811bf45cee7890b641e3e54a7662a81fc87f45 (diff)
downloadacf-heimdal-997aaa44ef4d26aeca2bee1e71109529f4ce1ba2.tar.bz2
acf-heimdal-997aaa44ef4d26aeca2bee1e71109529f4ce1ba2.tar.xz
Removed redirect_to_referrer
Diffstat (limited to 'heimdal-klist-html.lsp')
-rw-r--r--heimdal-klist-html.lsp9
1 files changed, 3 insertions, 6 deletions
diff --git a/heimdal-klist-html.lsp b/heimdal-klist-html.lsp
index d098a0b..910ec61 100644
--- a/heimdal-klist-html.lsp
+++ b/heimdal-klist-html.lsp
@@ -10,12 +10,9 @@
<%= html.html_escape(data.value) %>
</pre>
-<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("kdestroy") then %>
-<form action="<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/kdestroy") %>">
-<DT>Destroy Tickets</DT>
-<DD><input class="submit" type="submit" value="Destroy"></DD>
-</form>
-<% end %>
+<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("kdestroy") then
+ viewlibrary.dispatch_component("kdestroy")
+end %>
</DL>